diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-05-22 13:04:48 -0400 | 
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-05-22 13:04:48 -0400 | 
| commit | 8255c7a5eeba8f1a38b7a431c04909bde4f5e67d (patch) | |
| tree | 50b5b32eaf388701b2714244a10fb23f8d4a2c7c /src/backend/access/hash | |
| parent | be76af171cdb3e7465c4ef234af403f97ad79b7b (diff) | |
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
Diffstat (limited to 'src/backend/access/hash')
| -rw-r--r-- | src/backend/access/hash/hash.c | 10 | ||||
| -rw-r--r-- | src/backend/access/hash/hashinsert.c | 2 | ||||
| -rw-r--r-- | src/backend/access/hash/hashpage.c | 14 | ||||
| -rw-r--r-- | src/backend/access/hash/hashsearch.c | 10 | 
4 files changed, 18 insertions, 18 deletions
diff --git a/src/backend/access/hash/hash.c b/src/backend/access/hash/hash.c index 048e40e46fa..e9f2c84af1a 100644 --- a/src/backend/access/hash/hash.c +++ b/src/backend/access/hash/hash.c @@ -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);  /* diff --git a/src/backend/access/hash/hashinsert.c b/src/backend/access/hash/hashinsert.c index e17f01718f2..5321762d5ea 100644 --- a/src/backend/access/hash/hashinsert.c +++ b/src/backend/access/hash/hashinsert.c @@ -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. diff --git a/src/backend/access/hash/hashpage.c b/src/backend/access/hash/hashpage.c index b7adfdb826e..376ee2a63b5 100644 --- a/src/backend/access/hash/hashpage.c +++ b/src/backend/access/hash/hashpage.c @@ -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); diff --git a/src/backend/access/hash/hashsearch.c b/src/backend/access/hash/hashsearch.c index 61c90e6bb78..79ae499198d 100644 --- a/src/backend/access/hash/hashsearch.c +++ b/src/backend/access/hash/hashsearch.c @@ -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.  | 
