Hackfut Security File Manager
Current Path:
/opt/alt/postgresql11/usr/include/pgsql/server/utils
opt
/
alt
/
postgresql11
/
usr
/
include
/
pgsql
/
server
/
utils
/
📁
..
📄
acl.h
(12.79 KB)
📄
array.h
(10.61 KB)
📄
ascii.h
(579 B)
📄
attoptcache.h
(725 B)
📄
builtins.h
(47.77 KB)
📄
bytea.h
(1.58 KB)
📄
cash.h
(2.07 KB)
📄
catcache.h
(7.51 KB)
📄
combocid.h
(698 B)
📄
date.h
(7.73 KB)
📄
datetime.h
(9.92 KB)
📄
datum.h
(1.48 KB)
📄
dynahash.h
(498 B)
📄
dynamic_loader.h
(648 B)
📄
elog.h
(12.56 KB)
📄
errcodes.h
(19.61 KB)
📄
fmgroids.h
(61.09 KB)
📄
fmgrtab.h
(1.15 KB)
📄
formatting.h
(1.41 KB)
📄
geo_decls.h
(15.86 KB)
📄
guc.h
(13.19 KB)
📄
guc_tables.h
(7.15 KB)
📄
help_config.h
(432 B)
📄
hsearch.h
(5.51 KB)
📄
inet.h
(2.66 KB)
📄
int8.h
(4.03 KB)
📄
inval.h
(1.81 KB)
📄
json.h
(916 B)
📄
logtape.h
(1.5 KB)
📄
lsyscache.h
(6.51 KB)
📄
memutils.h
(5.2 KB)
📄
nabstime.h
(5.79 KB)
📄
numeric.h
(1.88 KB)
📄
palloc.h
(3.92 KB)
📄
pg_crc.h
(4.36 KB)
📄
pg_crc_tables.h
(19.73 KB)
📄
pg_locale.h
(2.59 KB)
📄
pg_lzcompress.h
(2.97 KB)
📄
pg_rusage.h
(847 B)
📄
plancache.h
(8.02 KB)
📄
portal.h
(9.22 KB)
📄
probes.h
(37.93 KB)
📄
ps_status.h
(668 B)
📄
rangetypes.h
(7.4 KB)
📄
rbtree.h
(2.26 KB)
📄
rel.h
(12.27 KB)
📄
relcache.h
(3.17 KB)
📄
relmapper.h
(1.68 KB)
📄
reltrigger.h
(1.95 KB)
📄
resowner.h
(5.07 KB)
📄
selfuncs.h
(7.5 KB)
📄
snapmgr.h
(1.59 KB)
📄
snapshot.h
(2.59 KB)
📄
sortsupport.h
(5.3 KB)
📄
spccache.h
(556 B)
📄
syscache.h
(5.51 KB)
📄
timestamp.h
(9.5 KB)
📄
tqual.h
(3.5 KB)
📄
tuplesort.h
(4.62 KB)
📄
tuplestore.h
(3.14 KB)
📄
typcache.h
(4.26 KB)
📄
tzparser.h
(1.13 KB)
📄
uuid.h
(861 B)
📄
varbit.h
(4.27 KB)
📄
xml.h
(3.89 KB)
Editing: syscache.h
/*------------------------------------------------------------------------- * * syscache.h * System catalog cache definitions. * * See also lsyscache.h, which provides convenience routines for * common cache-lookup operations. * * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/utils/syscache.h * *------------------------------------------------------------------------- */ #ifndef SYSCACHE_H #define SYSCACHE_H #include "utils/catcache.h" /* * SysCache identifiers. * * The order of these identifiers must match the order * of the entries in the array cacheinfo[] in syscache.c. * Keep them in alphabetical order (renumbering only costs a * backend rebuild). */ enum SysCacheIdentifier { AGGFNOID = 0, AMNAME, AMOID, AMOPOPID, AMOPSTRATEGY, AMPROCNUM, ATTNAME, ATTNUM, AUTHMEMMEMROLE, AUTHMEMROLEMEM, AUTHNAME, AUTHOID, CASTSOURCETARGET, CLAAMNAMENSP, CLAOID, COLLNAMEENCNSP, COLLOID, CONDEFAULT, CONNAMENSP, CONSTROID, CONVOID, DATABASEOID, DEFACLROLENSPOBJ, ENUMOID, ENUMTYPOIDNAME, FOREIGNDATAWRAPPERNAME, FOREIGNDATAWRAPPEROID, FOREIGNSERVERNAME, FOREIGNSERVEROID, FOREIGNTABLEREL, INDEXRELID, LANGNAME, LANGOID, NAMESPACENAME, NAMESPACEOID, OPERNAMENSP, OPEROID, OPFAMILYAMNAMENSP, OPFAMILYOID, PROCNAMEARGSNSP, PROCOID, RANGETYPE, RELNAMENSP, RELOID, RULERELNAME, STATRELATTINH, TABLESPACEOID, TSCONFIGMAP, TSCONFIGNAMENSP, TSCONFIGOID, TSDICTNAMENSP, TSDICTOID, TSPARSERNAMENSP, TSPARSEROID, TSTEMPLATENAMENSP, TSTEMPLATEOID, TYPENAMENSP, TYPEOID, USERMAPPINGOID, USERMAPPINGUSERSERVER }; extern void InitCatalogCache(void); extern void InitCatalogCachePhase2(void); extern HeapTuple SearchSysCache(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4); extern void ReleaseSysCache(HeapTuple tuple); /* convenience routines */ extern HeapTuple SearchSysCacheCopy(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4); extern bool SearchSysCacheExists(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4); extern Oid GetSysCacheOid(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4); extern HeapTuple SearchSysCacheAttName(Oid relid, const char *attname); extern HeapTuple SearchSysCacheCopyAttName(Oid relid, const char *attname); extern bool SearchSysCacheExistsAttName(Oid relid, const char *attname); extern Datum SysCacheGetAttr(int cacheId, HeapTuple tup, AttrNumber attributeNumber, bool *isNull); extern uint32 GetSysCacheHashValue(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4); /* list-search interface. Users of this must import catcache.h too */ extern struct catclist *SearchSysCacheList(int cacheId, int nkeys, Datum key1, Datum key2, Datum key3, Datum key4); extern bool RelationSupportsSysCache(Oid relid); /* * The use of the macros below rather than direct calls to the corresponding * functions is encouraged, as it insulates the caller from changes in the * maximum number of keys. */ #define SearchSysCache1(cacheId, key1) \ SearchSysCache(cacheId, key1, 0, 0, 0) #define SearchSysCache2(cacheId, key1, key2) \ SearchSysCache(cacheId, key1, key2, 0, 0) #define SearchSysCache3(cacheId, key1, key2, key3) \ SearchSysCache(cacheId, key1, key2, key3, 0) #define SearchSysCache4(cacheId, key1, key2, key3, key4) \ SearchSysCache(cacheId, key1, key2, key3, key4) #define SearchSysCacheCopy1(cacheId, key1) \ SearchSysCacheCopy(cacheId, key1, 0, 0, 0) #define SearchSysCacheCopy2(cacheId, key1, key2) \ SearchSysCacheCopy(cacheId, key1, key2, 0, 0) #define SearchSysCacheCopy3(cacheId, key1, key2, key3) \ SearchSysCacheCopy(cacheId, key1, key2, key3, 0) #define SearchSysCacheCopy4(cacheId, key1, key2, key3, key4) \ SearchSysCacheCopy(cacheId, key1, key2, key3, key4) #define SearchSysCacheExists1(cacheId, key1) \ SearchSysCacheExists(cacheId, key1, 0, 0, 0) #define SearchSysCacheExists2(cacheId, key1, key2) \ SearchSysCacheExists(cacheId, key1, key2, 0, 0) #define SearchSysCacheExists3(cacheId, key1, key2, key3) \ SearchSysCacheExists(cacheId, key1, key2, key3, 0) #define SearchSysCacheExists4(cacheId, key1, key2, key3, key4) \ SearchSysCacheExists(cacheId, key1, key2, key3, key4) #define GetSysCacheOid1(cacheId, key1) \ GetSysCacheOid(cacheId, key1, 0, 0, 0) #define GetSysCacheOid2(cacheId, key1, key2) \ GetSysCacheOid(cacheId, key1, key2, 0, 0) #define GetSysCacheOid3(cacheId, key1, key2, key3) \ GetSysCacheOid(cacheId, key1, key2, key3, 0) #define GetSysCacheOid4(cacheId, key1, key2, key3, key4) \ GetSysCacheOid(cacheId, key1, key2, key3, key4) #define GetSysCacheHashValue1(cacheId, key1) \ GetSysCacheHashValue(cacheId, key1, 0, 0, 0) #define GetSysCacheHashValue2(cacheId, key1, key2) \ GetSysCacheHashValue(cacheId, key1, key2, 0, 0) #define GetSysCacheHashValue3(cacheId, key1, key2, key3) \ GetSysCacheHashValue(cacheId, key1, key2, key3, 0) #define GetSysCacheHashValue4(cacheId, key1, key2, key3, key4) \ GetSysCacheHashValue(cacheId, key1, key2, key3, key4) #define SearchSysCacheList1(cacheId, key1) \ SearchSysCacheList(cacheId, 1, key1, 0, 0, 0) #define SearchSysCacheList2(cacheId, key1, key2) \ SearchSysCacheList(cacheId, 2, key1, key2, 0, 0) #define SearchSysCacheList3(cacheId, key1, key2, key3) \ SearchSysCacheList(cacheId, 3, key1, key2, key3, 0) #define SearchSysCacheList4(cacheId, key1, key2, key3, key4) \ SearchSysCacheList(cacheId, 4, key1, key2, key3, key4) #define ReleaseSysCacheList(x) ReleaseCatCacheList(x) #endif /* SYSCACHE_H */
Upload File
Create Folder