PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
schemacmds.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * schemacmds.h
4 * prototypes for schemacmds.c.
5 *
6 *
7 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
9 *
10 * src/include/commands/schemacmds.h
11 *
12 *-------------------------------------------------------------------------
13 */
14
15#ifndef SCHEMACMDS_H
16#define SCHEMACMDS_H
17
19#include "nodes/parsenodes.h"
20
22 const char *queryString,
23 int stmt_location, int stmt_len);
24
25extern ObjectAddress RenameSchema(const char *oldname, const char *newname);
26extern ObjectAddress AlterSchemaOwner(const char *name, Oid newOwnerId);
27extern void AlterSchemaOwner_oid(Oid schemaoid, Oid newOwnerId);
28
29#endif /* SCHEMACMDS_H */
#define stmt
Definition: indent_codes.h:59
unsigned int Oid
Definition: postgres_ext.h:31
Oid CreateSchemaCommand(CreateSchemaStmt *stmt, const char *queryString, int stmt_location, int stmt_len)
Definition: schemacmds.c:52
void AlterSchemaOwner_oid(Oid schemaoid, Oid newOwnerId)
Definition: schemacmds.c:307
ObjectAddress AlterSchemaOwner(const char *name, Oid newOwnerId)
Definition: schemacmds.c:330
ObjectAddress RenameSchema(const char *oldname, const char *newname)
Definition: schemacmds.c:249
const char * name