2017-01-19 18:00:00 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* subscriptioncmds.h
|
|
|
|
* prototypes for subscriptioncmds.c.
|
|
|
|
*
|
|
|
|
*
|
2017-01-25 18:32:05 +01:00
|
|
|
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
|
2017-01-19 18:00:00 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
|
|
|
* src/include/commands/subscriptioncmds.h
|
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SUBSCRIPTIONCMDS_H
|
|
|
|
#define SUBSCRIPTIONCMDS_H
|
|
|
|
|
2017-01-21 21:49:53 +01:00
|
|
|
#include "catalog/objectaddress.h"
|
2017-01-19 18:00:00 +01:00
|
|
|
#include "nodes/parsenodes.h"
|
|
|
|
|
|
|
|
extern ObjectAddress CreateSubscription(CreateSubscriptionStmt *stmt);
|
|
|
|
extern ObjectAddress AlterSubscription(AlterSubscriptionStmt *stmt);
|
|
|
|
extern void DropSubscription(DropSubscriptionStmt *stmt);
|
|
|
|
|
|
|
|
extern ObjectAddress AlterSubscriptionOwner(const char *name, Oid newOwnerId);
|
|
|
|
extern void AlterSubscriptionOwner_oid(Oid subid, Oid newOwnerId);
|
|
|
|
|
|
|
|
#endif /* SUBSCRIPTIONCMDS_H */
|