146 Anum_pg_tablespace_spcoptions,
183 double *spc_random_page_cost,
184 double *spc_seq_page_cost)
190 if (spc_random_page_cost)
198 if (spc_seq_page_cost)
int maintenance_io_concurrency
int effective_io_concurrency
#define Assert(condition)
void CreateCacheMemoryContext(void)
void * hash_search(HTAB *hashp, const void *keyPtr, HASHACTION action, bool *foundPtr)
HTAB * hash_create(const char *tabname, long nelem, const HASHCTL *info, int flags)
void * hash_seq_search(HASH_SEQ_STATUS *status)
void hash_seq_init(HASH_SEQ_STATUS *status, HTAB *hashp)
#define HeapTupleIsValid(tuple)
void CacheRegisterSyscacheCallback(int cacheid, SyscacheCallbackFunction func, Datum arg)
void pfree(void *pointer)
void * MemoryContextAlloc(MemoryContext context, Size size)
MemoryContext CacheMemoryContext
static AmcheckOptions opts
static Datum ObjectIdGetDatum(Oid X)
bytea * tablespace_reloptions(Datum reloptions, bool validate)
static TableSpaceCacheEntry * get_tablespace(Oid spcid)
static void InvalidateTableSpaceCacheCallback(Datum arg, int cacheid, uint32 hashvalue)
int get_tablespace_io_concurrency(Oid spcid)
static void InitializeTableSpaceCache(void)
void get_tablespace_page_costs(Oid spcid, double *spc_random_page_cost, double *spc_seq_page_cost)
static HTAB * TableSpaceCacheHash
int get_tablespace_maintenance_io_concurrency(Oid spcid)
int maintenance_io_concurrency
int effective_io_concurrency
void ReleaseSysCache(HeapTuple tuple)
HeapTuple SearchSysCache1(int cacheId, Datum key1)
Datum SysCacheGetAttr(int cacheId, HeapTuple tup, AttrNumber attributeNumber, bool *isNull)