mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Phase 2 pgindent run for v12.
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
This commit is contained in:
@ -24,10 +24,10 @@
|
||||
|
||||
static void ginFindParents(GinBtree btree, GinBtreeStack *stack);
|
||||
static bool ginPlaceToPage(GinBtree btree, GinBtreeStack *stack,
|
||||
void *insertdata, BlockNumber updateblkno,
|
||||
Buffer childbuf, GinStatsData *buildStats);
|
||||
void *insertdata, BlockNumber updateblkno,
|
||||
Buffer childbuf, GinStatsData *buildStats);
|
||||
static void ginFinishSplit(GinBtree btree, GinBtreeStack *stack,
|
||||
bool freestack, GinStatsData *buildStats);
|
||||
bool freestack, GinStatsData *buildStats);
|
||||
|
||||
/*
|
||||
* Lock buffer by needed method for search.
|
||||
|
@ -104,20 +104,20 @@ typedef struct
|
||||
|
||||
static ItemPointer dataLeafPageGetUncompressed(Page page, int *nitems);
|
||||
static void dataSplitPageInternal(GinBtree btree, Buffer origbuf,
|
||||
GinBtreeStack *stack,
|
||||
void *insertdata, BlockNumber updateblkno,
|
||||
Page *newlpage, Page *newrpage);
|
||||
GinBtreeStack *stack,
|
||||
void *insertdata, BlockNumber updateblkno,
|
||||
Page *newlpage, Page *newrpage);
|
||||
|
||||
static disassembledLeaf *disassembleLeaf(Page page);
|
||||
static bool leafRepackItems(disassembledLeaf *leaf, ItemPointer remaining);
|
||||
static bool addItemsToLeaf(disassembledLeaf *leaf, ItemPointer newItems,
|
||||
int nNewItems);
|
||||
int nNewItems);
|
||||
|
||||
static void computeLeafRecompressWALData(disassembledLeaf *leaf);
|
||||
static void dataPlaceToPageLeafRecompress(Buffer buf, disassembledLeaf *leaf);
|
||||
static void dataPlaceToPageLeafSplit(disassembledLeaf *leaf,
|
||||
ItemPointerData lbound, ItemPointerData rbound,
|
||||
Page lpage, Page rpage);
|
||||
ItemPointerData lbound, ItemPointerData rbound,
|
||||
Page lpage, Page rpage);
|
||||
|
||||
/*
|
||||
* Read TIDs from leaf data page to single uncompressed array. The TIDs are
|
||||
|
@ -21,10 +21,10 @@
|
||||
#include "utils/rel.h"
|
||||
|
||||
static void entrySplitPage(GinBtree btree, Buffer origbuf,
|
||||
GinBtreeStack *stack,
|
||||
GinBtreeEntryInsertData *insertData,
|
||||
BlockNumber updateblkno,
|
||||
Page *newlpage, Page *newrpage);
|
||||
GinBtreeStack *stack,
|
||||
GinBtreeEntryInsertData *insertData,
|
||||
BlockNumber updateblkno,
|
||||
Page *newlpage, Page *newrpage);
|
||||
|
||||
/*
|
||||
* Form a tuple for entry tree.
|
||||
|
Reference in New Issue
Block a user