| 1 | /*------------------------------------------------------------------------- |
| 2 | * |
| 3 | * publicationcmds.h |
| 4 | * prototypes for publicationcmds.c. |
| 5 | * |
| 6 | * |
| 7 | * Portions Copyright (c) 1996-2019, 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 | |
| 21 | extern ObjectAddress CreatePublication(CreatePublicationStmt *stmt); |
| 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 */ |
| 30 | |