mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-16 19:37:00 +08:00
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
30 lines
971 B
C
30 lines
971 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* subscriptioncmds.h
|
|
* prototypes for subscriptioncmds.c.
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/commands/subscriptioncmds.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef SUBSCRIPTIONCMDS_H
|
|
#define SUBSCRIPTIONCMDS_H
|
|
|
|
#include "catalog/objectaddress.h"
|
|
#include "nodes/parsenodes.h"
|
|
|
|
extern ObjectAddress CreateSubscription(CreateSubscriptionStmt *stmt,
|
|
bool isTopLevel);
|
|
extern ObjectAddress AlterSubscription(AlterSubscriptionStmt *stmt);
|
|
extern void DropSubscription(DropSubscriptionStmt *stmt, bool isTopLevel);
|
|
|
|
extern ObjectAddress AlterSubscriptionOwner(const char *name, Oid newOwnerId);
|
|
extern void AlterSubscriptionOwner_oid(Oid subid, Oid newOwnerId);
|
|
|
|
#endif /* SUBSCRIPTIONCMDS_H */
|