Skip to content

automatic assignment / event trigger workaround #234

@Andrei-Pozolotin

Description

@Andrei-Pozolotin
  1. event_trigger for automatic assignment:
    https://github.com/2ndQuadrant/pglogical#automatic-assignment-of-replication-sets-for-new-tables
    works only for CREATE TABLE

  2. there is a bug that prevents event_trigger form being used for DROP TABLE:
    https://www.postgresql.org/message-id/16177-053a34714817c3e1%40postgresql.org
    BUG #16177: pg_event_trigger_ddl_commands() returns empty set ...

  3. here is possible solution proposed by Álvaro Herrera:
    https://www.postgresql.org/message-id/20191224161828.GA14840%40alvherre.pgsql

I wonder if it's possible for pglogical to register pg_depend entries to
the replication set, so that the repset membership is dropped alongside
the table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions