diff options
author | Amit Kapila <akapila@postgresql.org> | 2021-01-25 07:39:29 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2021-01-25 07:39:29 +0530 |
commit | 40ab64c1ec1cb9bd73695f519cf66ddbb97d8144 (patch) | |
tree | 38e2b7bafef26b0a7256701f6a490802c77a751d /src/backend/tcop/postgres.c | |
parent | a4b03de589c1df0845e9732da203f505f2eedb6d (diff) | |
download | postgresql-40ab64c1ec1cb9bd73695f519cf66ddbb97d8144.tar.gz postgresql-40ab64c1ec1cb9bd73695f519cf66ddbb97d8144.zip |
Fix ALTER PUBLICATION...DROP TABLE behavior.
Commit 69bd60672 fixed the initialization of streamed transactions for
RelationSyncEntry. It forgot to initialize the publication actions while
invalidating the RelationSyncEntry due to which even though the relation
is dropped from a particular publication we still publish its changes. Fix
it by initializing pubactions when entry got invalidated.
Author: Japin Li and Bharath Rupireddy
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CALj2ACV+0UFpcZs5czYgBpujM9p0Hg1qdOZai_43OU7bqHU_xw@mail.gmail.com
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions