| 1 | /*------------------------------------------------------------------------- |
| 2 | * |
| 3 | * spccache.h |
| 4 | * Tablespace cache. |
| 5 | * |
| 6 | * Portions Copyright (c) 1996-2019, 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 | void get_tablespace_page_costs(Oid spcid, float8 *spc_random_page_cost, |
| 17 | float8 *spc_seq_page_cost); |
| 18 | int get_tablespace_io_concurrency(Oid spcid); |
| 19 | |
| 20 | #endif /* SPCCACHE_H */ |
| 21 | |