PostgreSQL Source Code  git master
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-2021, 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 "parser/parse_node.h"
20 #include "utils/inval.h"
21 
22 /* Same as MAXNUMMESSAGES in sinvaladt.c */
23 #define MAX_RELCACHE_INVAL_MSGS 4096
24 
26 extern void AlterPublication(ParseState *pstate, AlterPublicationStmt *stmt);
27 extern void RemovePublicationById(Oid pubid);
28 extern void RemovePublicationRelById(Oid proid);
29 extern void RemovePublicationSchemaById(Oid psoid);
30 
31 extern ObjectAddress AlterPublicationOwner(const char *name, Oid newOwnerId);
32 extern void AlterPublicationOwner_oid(Oid pubid, Oid newOwnerId);
33 extern void InvalidatePublicationRels(List *relids);
34 
35 #endif /* PUBLICATIONCMDS_H */
const char * name
Definition: encode.c:561
unsigned int Oid
Definition: postgres_ext.h:31
void AlterPublicationOwner_oid(Oid pubid, Oid newOwnerId)
void InvalidatePublicationRels(List *relids)
void RemovePublicationSchemaById(Oid psoid)
ObjectAddress CreatePublication(ParseState *pstate, CreatePublicationStmt *stmt)
void RemovePublicationById(Oid pubid)
void AlterPublication(ParseState *pstate, AlterPublicationStmt *stmt)
void RemovePublicationRelById(Oid proid)
ObjectAddress AlterPublicationOwner(const char *name, Oid newOwnerId)
Definition: pg_list.h:51