mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +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:
34
src/backend/utils/cache/catcache.c
vendored
34
src/backend/utils/cache/catcache.c
vendored
@@ -64,24 +64,24 @@
|
||||
static CatCacheHeader *CacheHdr = NULL;
|
||||
|
||||
static inline HeapTuple SearchCatCacheInternal(CatCache *cache,
|
||||
int nkeys,
|
||||
Datum v1, Datum v2,
|
||||
Datum v3, Datum v4);
|
||||
int nkeys,
|
||||
Datum v1, Datum v2,
|
||||
Datum v3, Datum v4);
|
||||
|
||||
static pg_noinline HeapTuple SearchCatCacheMiss(CatCache *cache,
|
||||
int nkeys,
|
||||
uint32 hashValue,
|
||||
Index hashIndex,
|
||||
Datum v1, Datum v2,
|
||||
Datum v3, Datum v4);
|
||||
int nkeys,
|
||||
uint32 hashValue,
|
||||
Index hashIndex,
|
||||
Datum v1, Datum v2,
|
||||
Datum v3, Datum v4);
|
||||
|
||||
static uint32 CatalogCacheComputeHashValue(CatCache *cache, int nkeys,
|
||||
Datum v1, Datum v2, Datum v3, Datum v4);
|
||||
Datum v1, Datum v2, Datum v3, Datum v4);
|
||||
static uint32 CatalogCacheComputeTupleHashValue(CatCache *cache, int nkeys,
|
||||
HeapTuple tuple);
|
||||
HeapTuple tuple);
|
||||
static inline bool CatalogCacheCompareTuple(const CatCache *cache, int nkeys,
|
||||
const Datum *cachekeys,
|
||||
const Datum *searchkeys);
|
||||
const Datum *cachekeys,
|
||||
const Datum *searchkeys);
|
||||
|
||||
#ifdef CATCACHE_STATS
|
||||
static void CatCachePrintStats(int code, Datum arg);
|
||||
@@ -90,14 +90,14 @@ static void CatCacheRemoveCTup(CatCache *cache, CatCTup *ct);
|
||||
static void CatCacheRemoveCList(CatCache *cache, CatCList *cl);
|
||||
static void CatalogCacheInitializeCache(CatCache *cache);
|
||||
static CatCTup *CatalogCacheCreateEntry(CatCache *cache, HeapTuple ntp,
|
||||
Datum *arguments,
|
||||
uint32 hashValue, Index hashIndex,
|
||||
bool negative);
|
||||
Datum *arguments,
|
||||
uint32 hashValue, Index hashIndex,
|
||||
bool negative);
|
||||
|
||||
static void CatCacheFreeKeys(TupleDesc tupdesc, int nkeys, int *attnos,
|
||||
Datum *keys);
|
||||
Datum *keys);
|
||||
static void CatCacheCopyKeys(TupleDesc tupdesc, int nkeys, int *attnos,
|
||||
Datum *srckeys, Datum *dstkeys);
|
||||
Datum *srckeys, Datum *dstkeys);
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user