2002-04-15 07:22:04 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* schemacmds.h
|
|
|
|
* prototypes for schemacmds.c.
|
|
|
|
*
|
|
|
|
*
|
2006-03-05 16:59:11 +01:00
|
|
|
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
2002-04-15 07:22:04 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2006-04-10 00:01:19 +02:00
|
|
|
* $PostgreSQL: pgsql/src/include/commands/schemacmds.h,v 1.14 2006/04/09 22:01:19 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);
|
|
|
|
|
2005-11-19 18:39:45 +01:00
|
|
|
extern void RemoveSchema(List *names, DropBehavior behavior, bool missing_ok);
|
2002-07-18 18:47:26 +02:00
|
|
|
extern void RemoveSchemaById(Oid schemaOid);
|
|
|
|
|
2003-06-27 16:45:32 +02:00
|
|
|
extern void RenameSchema(const char *oldname, const char *newname);
|
2005-06-28 07:09:14 +02:00
|
|
|
extern void AlterSchemaOwner(const char *name, Oid newOwnerId);
|
2006-04-10 00:01:19 +02:00
|
|
|
extern void AlterSchemaOwner_oid(Oid schemaOid, Oid newOwnerId);
|
2003-06-27 16:45:32 +02:00
|
|
|
|
2002-09-04 22:31:48 +02:00
|
|
|
#endif /* SCHEMACMDS_H */
|