PostgreSQL Source Code  git master
spccache.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * spccache.h
4  * Tablespace cache.
5  *
6  * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * src/include/utils/spccache.h
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef SPCCACHE_H
14 #define SPCCACHE_H
15 
16 extern void get_tablespace_page_costs(Oid spcid, float8 *spc_random_page_cost,
17  float8 *spc_seq_page_cost);
18 extern int get_tablespace_io_concurrency(Oid spcid);
20 
21 #endif /* SPCCACHE_H */
double float8
Definition: c.h:630
unsigned int Oid
Definition: postgres_ext.h:31
int get_tablespace_io_concurrency(Oid spcid)
Definition: spccache.c:215
int get_tablespace_maintenance_io_concurrency(Oid spcid)
Definition: spccache.c:229
void get_tablespace_page_costs(Oid spcid, float8 *spc_random_page_cost, float8 *spc_seq_page_cost)
Definition: spccache.c:182