mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-06 15:19:21 +02:00
aggregates, conversions, functions, operators, operator classes, schemas, types, and tablespaces. Fold the existing implementations of alter domain owner and alter database owner in with these. Christopher Kings-Lynne
33 lines
991 B
C
33 lines
991 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* tablespace.h
|
|
* prototypes for tablespace.c.
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $PostgreSQL: pgsql/src/include/commands/tablespace.h,v 1.2 2004/06/25 21:55:58 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef TABLESPACE_H
|
|
#define TABLESPACE_H
|
|
|
|
#include "nodes/parsenodes.h"
|
|
|
|
extern void CreateTableSpace(CreateTableSpaceStmt *stmt);
|
|
|
|
extern void DropTableSpace(DropTableSpaceStmt *stmt);
|
|
|
|
extern void TablespaceCreateDbspace(Oid spcNode, Oid dbNode);
|
|
|
|
extern Oid get_tablespace_oid(const char *tablespacename);
|
|
|
|
extern char *get_tablespace_name(Oid spc_oid);
|
|
|
|
extern void RenameTableSpace(const char *oldname, const char *newname);
|
|
extern void AlterTableSpaceOwner(const char *name, AclId newOwnerSysId);
|
|
|
|
#endif /* TABLESPACE_H */
|