2002-04-15 07:22:04 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* schemacmds.h
|
|
|
|
* prototypes for schemacmds.c.
|
|
|
|
*
|
|
|
|
*
|
2010-01-02 17:58:17 +01:00
|
|
|
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
2002-04-15 07:22:04 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2010-01-02 17:58:17 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/commands/schemacmds.h,v 1.21 2010/01/02 16:58:03 momjian Exp $
|
2002-04-15 07:22:04 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SCHEMACMDS_H
|
|
|
|
#define SCHEMACMDS_H
|
|
|
|
|
|
|
|
#include "nodes/parsenodes.h"
|
|
|
|
|
2007-03-13 01:33:44 +01:00
|
|
|
extern void CreateSchemaCommand(CreateSchemaStmt *parsetree,
|
2007-11-15 22:14:46 +01:00
|
|
|
const char *queryString);
|
2002-04-15 07:22:04 +02:00
|
|
|
|
2008-06-14 20:04:34 +02:00
|
|
|
extern void RemoveSchemas(DropStmt *drop);
|
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 */
|