1/*-------------------------------------------------------------------------
4 * Tablespace management commands (create/drop tablespace).
7 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/commands/tablespace.h
12 *-------------------------------------------------------------------------
27 #define XLOG_TBLSPC_CREATE 0x00
28 #define XLOG_TBLSPC_DROP 0x10
71#endif /* TABLESPACE_H */
#define FLEXIBLE_ARRAY_MEMBER
int maintenance_io_concurrency
int effective_io_concurrency
char ts_path[FLEXIBLE_ARRAY_MEMBER]
Oid AlterTableSpaceOptions(AlterTableSpaceOptionsStmt *stmt)
struct TableSpaceOpts TableSpaceOpts
PGDLLIMPORT char * default_tablespace
bool directory_is_empty(const char *path)
PGDLLIMPORT bool allow_in_place_tablespaces
struct xl_tblspc_drop_rec xl_tblspc_drop_rec
void tblspc_desc(StringInfo buf, XLogReaderState *record)
void remove_tablespace_symlink(const char *linkloc)
char * get_tablespace_name(Oid spc_oid)
void DropTableSpace(DropTableSpaceStmt *stmt)
void PrepareTempTablespaces(void)
Oid get_tablespace_oid(const char *tablespacename, bool missing_ok)
PGDLLIMPORT char * temp_tablespaces
ObjectAddress RenameTableSpace(const char *oldname, const char *newname)
Oid GetDefaultTablespace(char relpersistence, bool partitioned)
void TablespaceCreateDbspace(Oid spcOid, Oid dbOid, bool isRedo)
const char * tblspc_identify(uint8 info)
Oid CreateTableSpace(CreateTableSpaceStmt *stmt)
struct xl_tblspc_create_rec xl_tblspc_create_rec
void tblspc_redo(XLogReaderState *record)