mirror of
https://github.com/postgres/postgres.git
synced 2025-07-09 22:41:56 +03:00
Initial pgindent and pgperltidy run for v13.
Includes some manual cleanup of places that pgindent messed up,
most of which weren't per project style anyway.
Notably, it seems some people didn't absorb the style rules of
commit c9d297751
, because there were a bunch of new occurrences
of function calls with a newline just after the left paren, all
with faulty expectations about how the rest of the call would get
indented.
This commit is contained in:
@ -300,9 +300,9 @@ TupleHashEntry
|
||||
LookupTupleHashEntry(TupleHashTable hashtable, TupleTableSlot *slot,
|
||||
bool *isnew)
|
||||
{
|
||||
TupleHashEntry entry;
|
||||
MemoryContext oldContext;
|
||||
uint32 hash;
|
||||
TupleHashEntry entry;
|
||||
MemoryContext oldContext;
|
||||
uint32 hash;
|
||||
|
||||
/* Need to run the hash functions in short-lived context */
|
||||
oldContext = MemoryContextSwitchTo(hashtable->tempcxt);
|
||||
@ -326,8 +326,8 @@ LookupTupleHashEntry(TupleHashTable hashtable, TupleTableSlot *slot,
|
||||
uint32
|
||||
TupleHashTableHash(TupleHashTable hashtable, TupleTableSlot *slot)
|
||||
{
|
||||
MemoryContext oldContext;
|
||||
uint32 hash;
|
||||
MemoryContext oldContext;
|
||||
uint32 hash;
|
||||
|
||||
hashtable->inputslot = slot;
|
||||
hashtable->in_hash_funcs = hashtable->tab_hash_funcs;
|
||||
@ -350,8 +350,8 @@ TupleHashEntry
|
||||
LookupTupleHashEntryHash(TupleHashTable hashtable, TupleTableSlot *slot,
|
||||
bool *isnew, uint32 hash)
|
||||
{
|
||||
TupleHashEntry entry;
|
||||
MemoryContext oldContext;
|
||||
TupleHashEntry entry;
|
||||
MemoryContext oldContext;
|
||||
|
||||
/* Need to run the hash functions in short-lived context */
|
||||
oldContext = MemoryContextSwitchTo(hashtable->tempcxt);
|
||||
|
Reference in New Issue
Block a user