PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
publicationcmds.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * publicationcmds.h
4  * prototypes for publicationcmds.c.
5  *
6  *
7  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/commands/publicationcmds.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 
15 #ifndef PUBLICATIONCMDS_H
16 #define PUBLICATIONCMDS_H
17 
18 #include "catalog/objectaddress.h"
19 #include "nodes/parsenodes.h"
20 
22 extern void AlterPublication(AlterPublicationStmt *stmt);
23 extern void RemovePublicationById(Oid pubid);
24 extern void RemovePublicationRelById(Oid proid);
25 
26 extern ObjectAddress AlterPublicationOwner(const char *name, Oid newOwnerId);
27 extern void AlterPublicationOwner_oid(Oid pubid, Oid newOwnerId);
28 
29 #endif /* PUBLICATIONCMDS_H */
void AlterPublicationOwner_oid(Oid pubid, Oid newOwnerId)
void RemovePublicationById(Oid pubid)
unsigned int Oid
Definition: postgres_ext.h:31
ObjectAddress AlterPublicationOwner(const char *name, Oid newOwnerId)
ObjectAddress CreatePublication(CreatePublicationStmt *stmt)
const char * name
Definition: encode.c:521
void RemovePublicationRelById(Oid proid)
void AlterPublication(AlterPublicationStmt *stmt)