2002-04-15 07:22:04 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* schemacmds.h
|
|
|
|
* prototypes for schemacmds.c.
|
|
|
|
*
|
|
|
|
*
|
2003-08-04 04:40:20 +02:00
|
|
|
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
2002-04-15 07:22:04 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2004-06-25 23:55:59 +02:00
|
|
|
* $PostgreSQL: pgsql/src/include/commands/schemacmds.h,v 1.7 2004/06/25 21:55:58 tgl Exp $
|
2002-04-15 07:22:04 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SCHEMACMDS_H
|
|
|
|
#define SCHEMACMDS_H
|
|
|
|
|
|
|
|
#include "nodes/parsenodes.h"
|
|
|
|
|
|
|
|
extern void CreateSchemaCommand(CreateSchemaStmt *parsetree);
|
|
|
|
|
2002-07-18 18:47:26 +02:00
|
|
|
extern void RemoveSchema(List *names, DropBehavior behavior);
|
|
|
|
extern void RemoveSchemaById(Oid schemaOid);
|
|
|
|
|
2003-06-27 16:45:32 +02:00
|
|
|
extern void RenameSchema(const char *oldname, const char *newname);
|
2004-06-25 23:55:59 +02:00
|
|
|
extern void AlterSchemaOwner(const char *name, AclId newOwnerSysId);
|
2003-06-27 16:45:32 +02:00
|
|
|
|
2002-09-04 22:31:48 +02:00
|
|
|
#endif /* SCHEMACMDS_H */
|