pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix error with CREATE PUBLICATION, wal_level=minimal, and new ta
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix error with CREATE PUBLICATION, wal_level=minimal, and new ta
@ 2021-01-30 08:36  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Noah Misch @ 2021-01-30 08:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix error with CREATE PUBLICATION, wal_level=minimal, and new tables.

CREATE PUBLICATION has failed spuriously when applied to a permanent
relation created or rewritten in the current transaction.  Make the same
change to another site having the same semantic intent; the second
instance has no user-visible consequences.  Back-patch to v13, where
commit c6b92041d38512a4176ed76ad06f713d2e6c01a8 broke this.

Kyotaro Horiguchi

Discussion: https://postgr.es/m/20210113.160705.2225256954956139776.horikyota.ntt@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/360bd2321b1ad9c47466bc485ee5eb2f4515372e

Modified Files
--------------
src/backend/catalog/pg_publication.c       |  2 +-
src/backend/optimizer/util/plancat.c       |  3 ++-
src/test/subscription/t/001_rep_changes.pl | 20 +++++++++++++++++++-
3 files changed, 22 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix error with CREATE PUBLICATION, wal_level=minimal, and new ta
@ 2021-01-30 08:36  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Noah Misch @ 2021-01-30 08:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix error with CREATE PUBLICATION, wal_level=minimal, and new tables.

CREATE PUBLICATION has failed spuriously when applied to a permanent
relation created or rewritten in the current transaction.  Make the same
change to another site having the same semantic intent; the second
instance has no user-visible consequences.  Back-patch to v13, where
commit c6b92041d38512a4176ed76ad06f713d2e6c01a8 broke this.

Kyotaro Horiguchi

Discussion: https://postgr.es/m/20210113.160705.2225256954956139776.horikyota.ntt@gmail.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e8e3e67490f593a3669c762b50b2aa3a11208654

Modified Files
--------------
src/backend/catalog/pg_publication.c       |  2 +-
src/backend/optimizer/util/plancat.c       |  3 ++-
src/test/subscription/t/001_rep_changes.pl | 20 +++++++++++++++++++-
3 files changed, 22 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-01-30 08:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-01-30 08:36 pgsql: Fix error with CREATE PUBLICATION, wal_level=minimal, and new ta Noah Misch <noah@leadboat.com>
2021-01-30 08:36 pgsql: Fix error with CREATE PUBLICATION, wal_level=minimal, and new ta Noah Misch <noah@leadboat.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox