mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Logical replication
- Add PUBLICATION catalogs and DDL - Add SUBSCRIPTION catalog and DDL - Define logical replication protocol and output plugin - Add logical replication workers From: Petr Jelinek <petr@2ndquadrant.com> Reviewed-by: Steve Singer <steve@ssinger.info> Reviewed-by: Andres Freund <andres@anarazel.de> Reviewed-by: Erik Rijkers <er@xs4all.nl> Reviewed-by: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
This commit is contained in:
@ -45,7 +45,9 @@
|
||||
#include "commands/extension.h"
|
||||
#include "commands/policy.h"
|
||||
#include "commands/proclang.h"
|
||||
#include "commands/publicationcmds.h"
|
||||
#include "commands/schemacmds.h"
|
||||
#include "commands/subscriptioncmds.h"
|
||||
#include "commands/tablecmds.h"
|
||||
#include "commands/tablespace.h"
|
||||
#include "commands/trigger.h"
|
||||
@ -770,6 +772,14 @@ ExecAlterOwnerStmt(AlterOwnerStmt *stmt)
|
||||
return AlterEventTriggerOwner(strVal(linitial(stmt->object)),
|
||||
newowner);
|
||||
|
||||
case OBJECT_PUBLICATION:
|
||||
return AlterPublicationOwner(strVal(linitial(stmt->object)),
|
||||
newowner);
|
||||
|
||||
case OBJECT_SUBSCRIPTION:
|
||||
return AlterSubscriptionOwner(strVal(linitial(stmt->object)),
|
||||
newowner);
|
||||
|
||||
/* Generic cases */
|
||||
case OBJECT_AGGREGATE:
|
||||
case OBJECT_COLLATION:
|
||||
|
Reference in New Issue
Block a user