2002-04-15 07:22:04 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* schemacmds.h
|
|
|
|
* prototypes for schemacmds.c.
|
|
|
|
*
|
|
|
|
*
|
2013-01-01 23:15:01 +01:00
|
|
|
* Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
|
2002-04-15 07:22:04 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/commands/schemacmds.h
|
2002-04-15 07:22:04 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SCHEMACMDS_H
|
|
|
|
#define SCHEMACMDS_H
|
|
|
|
|
|
|
|
#include "nodes/parsenodes.h"
|
|
|
|
|
2012-12-24 00:25:03 +01:00
|
|
|
extern Oid CreateSchemaCommand(CreateSchemaStmt *parsetree,
|
2007-11-15 22:14:46 +01:00
|
|
|
const char *queryString);
|
2002-04-15 07:22:04 +02:00
|
|
|
|
2002-07-18 18:47:26 +02:00
|
|
|
extern void RemoveSchemaById(Oid schemaOid);
|
|
|
|
|
2012-12-24 00:25:03 +01:00
|
|
|
extern Oid RenameSchema(const char *oldname, const char *newname);
|
|
|
|
extern Oid 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 */
|