mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +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:
@@ -43,11 +43,11 @@ typedef struct
|
||||
} HashBuildState;
|
||||
|
||||
static void hashbuildCallback(Relation index,
|
||||
HeapTuple htup,
|
||||
Datum *values,
|
||||
bool *isnull,
|
||||
bool tupleIsAlive,
|
||||
void *state);
|
||||
HeapTuple htup,
|
||||
Datum *values,
|
||||
bool *isnull,
|
||||
bool tupleIsAlive,
|
||||
void *state);
|
||||
|
||||
|
||||
/*
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include "storage/predicate.h"
|
||||
|
||||
static void _hash_vacuum_one_page(Relation rel, Relation hrel,
|
||||
Buffer metabuf, Buffer buf);
|
||||
Buffer metabuf, Buffer buf);
|
||||
|
||||
/*
|
||||
* _hash_doinsert() -- Handle insertion of a single index tuple.
|
||||
|
@@ -37,14 +37,14 @@
|
||||
|
||||
|
||||
static bool _hash_alloc_buckets(Relation rel, BlockNumber firstblock,
|
||||
uint32 nblocks);
|
||||
uint32 nblocks);
|
||||
static void _hash_splitbucket(Relation rel, Buffer metabuf,
|
||||
Bucket obucket, Bucket nbucket,
|
||||
Buffer obuf,
|
||||
Buffer nbuf,
|
||||
HTAB *htab,
|
||||
uint32 maxbucket,
|
||||
uint32 highmask, uint32 lowmask);
|
||||
Bucket obucket, Bucket nbucket,
|
||||
Buffer obuf,
|
||||
Buffer nbuf,
|
||||
HTAB *htab,
|
||||
uint32 maxbucket,
|
||||
uint32 highmask, uint32 lowmask);
|
||||
static void log_split_page(Relation rel, Buffer buf);
|
||||
|
||||
|
||||
|
@@ -22,13 +22,13 @@
|
||||
#include "storage/predicate.h"
|
||||
|
||||
static bool _hash_readpage(IndexScanDesc scan, Buffer *bufP,
|
||||
ScanDirection dir);
|
||||
static int _hash_load_qualified_items(IndexScanDesc scan, Page page,
|
||||
OffsetNumber offnum, ScanDirection dir);
|
||||
ScanDirection dir);
|
||||
static int _hash_load_qualified_items(IndexScanDesc scan, Page page,
|
||||
OffsetNumber offnum, ScanDirection dir);
|
||||
static inline void _hash_saveitem(HashScanOpaque so, int itemIndex,
|
||||
OffsetNumber offnum, IndexTuple itup);
|
||||
OffsetNumber offnum, IndexTuple itup);
|
||||
static void _hash_readnext(IndexScanDesc scan, Buffer *bufp,
|
||||
Page *pagep, HashPageOpaque *opaquep);
|
||||
Page *pagep, HashPageOpaque *opaquep);
|
||||
|
||||
/*
|
||||
* _hash_next() -- Get the next item in a scan.
|
||||
|
Reference in New Issue
Block a user