PostgreSQL Source Code
git master
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-2025, 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
18
#include "
catalog/objectaddress.h
"
19
#include "
nodes/parsenodes.h
"
20
21
extern
Oid
CreateSchemaCommand
(
CreateSchemaStmt
*
stmt
,
22
const
char
*queryString,
23
int
stmt_location,
int
stmt_len);
24
25
extern
ObjectAddress
RenameSchema
(
const
char
*oldname,
const
char
*newname);
26
extern
ObjectAddress
AlterSchemaOwner
(
const
char
*
name
,
Oid
newOwnerId);
27
extern
void
AlterSchemaOwner_oid
(
Oid
schemaoid,
Oid
newOwnerId);
28
29
#endif
/* SCHEMACMDS_H */
stmt
#define stmt
Definition:
indent_codes.h:59
objectaddress.h
parsenodes.h
Oid
unsigned int Oid
Definition:
postgres_ext.h:32
CreateSchemaCommand
Oid CreateSchemaCommand(CreateSchemaStmt *stmt, const char *queryString, int stmt_location, int stmt_len)
Definition:
schemacmds.c:52
AlterSchemaOwner_oid
void AlterSchemaOwner_oid(Oid schemaoid, Oid newOwnerId)
Definition:
schemacmds.c:307
AlterSchemaOwner
ObjectAddress AlterSchemaOwner(const char *name, Oid newOwnerId)
Definition:
schemacmds.c:330
RenameSchema
ObjectAddress RenameSchema(const char *oldname, const char *newname)
Definition:
schemacmds.c:249
CreateSchemaStmt
Definition:
parsenodes.h:2375
ObjectAddress
Definition:
objectaddress.h:25
name
const char * name
Definition:
wait_event_funcs.c:28
src
include
commands
schemacmds.h
Generated on Fri Jan 17 2025 06:13:25 for PostgreSQL Source Code by
1.9.4