pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Disallow starting server with insufficient wal_level for existin 6+ messages / 1 participants [nested] [flat]
* pgsql: Disallow starting server with insufficient wal_level for existin @ 2018-10-31 22:47 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2018-10-31 22:47 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Disallow starting server with insufficient wal_level for existing slot. Previously it was possible to create a slot, change wal_level, and restart, even if the new wal_level was insufficient for the slot. That's a problem for both logical and physical slots, because the necessary WAL records are not generated. This removes a few tests in newer versions that, somewhat inexplicably, whether restarting with a too low wal_level worked (a buggy behaviour!). Reported-By: Joshua D. Drake Author: Andres Freund Discussion: https://postgr.es/m/20181029191304.lbsmhshkyymhw22w@alap3.anarazel.de Backpatch: 9.4-, where replication slots where introduced Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/691d79a0793328a45b01348675ba677aa7623bec Modified Files -------------- src/backend/replication/logical/logical.c | 5 +++++ src/backend/replication/slot.c | 30 +++++++++++++++++++++++++++++ src/test/recovery/t/006_logical_decoding.pl | 23 +--------------------- 3 files changed, 36 insertions(+), 22 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Disallow starting server with insufficient wal_level for existin @ 2018-10-31 22:47 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2018-10-31 22:47 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Disallow starting server with insufficient wal_level for existing slot. Previously it was possible to create a slot, change wal_level, and restart, even if the new wal_level was insufficient for the slot. That's a problem for both logical and physical slots, because the necessary WAL records are not generated. This removes a few tests in newer versions that, somewhat inexplicably, whether restarting with a too low wal_level worked (a buggy behaviour!). Reported-By: Joshua D. Drake Author: Andres Freund Discussion: https://postgr.es/m/20181029191304.lbsmhshkyymhw22w@alap3.anarazel.de Backpatch: 9.4-, where replication slots where introduced Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c33a01c7979dc267c81ece612af783ecacf22bc0 Modified Files -------------- src/backend/replication/logical/logical.c | 5 +++++ src/backend/replication/slot.c | 30 +++++++++++++++++++++++++++++ src/test/recovery/t/006_logical_decoding.pl | 23 +--------------------- 3 files changed, 36 insertions(+), 22 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Disallow starting server with insufficient wal_level for existin @ 2018-10-31 22:47 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2018-10-31 22:47 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Disallow starting server with insufficient wal_level for existing slot. Previously it was possible to create a slot, change wal_level, and restart, even if the new wal_level was insufficient for the slot. That's a problem for both logical and physical slots, because the necessary WAL records are not generated. This removes a few tests in newer versions that, somewhat inexplicably, whether restarting with a too low wal_level worked (a buggy behaviour!). Reported-By: Joshua D. Drake Author: Andres Freund Discussion: https://postgr.es/m/20181029191304.lbsmhshkyymhw22w@alap3.anarazel.de Backpatch: 9.4-, where replication slots where introduced Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/021e1c329d7c5e9a72cc7c7bd21d4604d087635f Modified Files -------------- src/backend/replication/logical/logical.c | 5 +++++ src/backend/replication/slot.c | 30 +++++++++++++++++++++++++++++ src/test/recovery/t/006_logical_decoding.pl | 23 +--------------------- 3 files changed, 36 insertions(+), 22 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Disallow starting server with insufficient wal_level for existin @ 2018-10-31 22:47 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2018-10-31 22:47 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Disallow starting server with insufficient wal_level for existing slot. Previously it was possible to create a slot, change wal_level, and restart, even if the new wal_level was insufficient for the slot. That's a problem for both logical and physical slots, because the necessary WAL records are not generated. This removes a few tests in newer versions that, somewhat inexplicably, whether restarting with a too low wal_level worked (a buggy behaviour!). Reported-By: Joshua D. Drake Author: Andres Freund Discussion: https://postgr.es/m/20181029191304.lbsmhshkyymhw22w@alap3.anarazel.de Backpatch: 9.4-, where replication slots where introduced Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d35fd17cb58db72122912b57c75c8825ebf24285 Modified Files -------------- src/backend/replication/logical/logical.c | 5 +++++ src/backend/replication/slot.c | 30 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Disallow starting server with insufficient wal_level for existin @ 2018-10-31 22:47 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2018-10-31 22:47 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Disallow starting server with insufficient wal_level for existing slot. Previously it was possible to create a slot, change wal_level, and restart, even if the new wal_level was insufficient for the slot. That's a problem for both logical and physical slots, because the necessary WAL records are not generated. This removes a few tests in newer versions that, somewhat inexplicably, whether restarting with a too low wal_level worked (a buggy behaviour!). Reported-By: Joshua D. Drake Author: Andres Freund Discussion: https://postgr.es/m/20181029191304.lbsmhshkyymhw22w@alap3.anarazel.de Backpatch: 9.4-, where replication slots where introduced Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/679cb44e4b563a1af6049a482db56aa02809d80c Modified Files -------------- src/backend/replication/logical/logical.c | 5 +++++ src/backend/replication/slot.c | 30 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Disallow starting server with insufficient wal_level for existin @ 2018-10-31 22:47 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 6+ messages in thread From: Andres Freund @ 2018-10-31 22:47 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Disallow starting server with insufficient wal_level for existing slot. Previously it was possible to create a slot, change wal_level, and restart, even if the new wal_level was insufficient for the slot. That's a problem for both logical and physical slots, because the necessary WAL records are not generated. This removes a few tests in newer versions that, somewhat inexplicably, whether restarting with a too low wal_level worked (a buggy behaviour!). Reported-By: Joshua D. Drake Author: Andres Freund Discussion: https://postgr.es/m/20181029191304.lbsmhshkyymhw22w@alap3.anarazel.de Backpatch: 9.4-, where replication slots where introduced Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/cf358a2c066ccb8fc9e82dc59358130aa61075ab Modified Files -------------- src/backend/replication/logical/logical.c | 5 +++++ src/backend/replication/slot.c | 30 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2018-10-31 22:47 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-10-31 22:47 pgsql: Disallow starting server with insufficient wal_level for existin Andres Freund <andres@anarazel.de> 2018-10-31 22:47 pgsql: Disallow starting server with insufficient wal_level for existin Andres Freund <andres@anarazel.de> 2018-10-31 22:47 pgsql: Disallow starting server with insufficient wal_level for existin Andres Freund <andres@anarazel.de> 2018-10-31 22:47 pgsql: Disallow starting server with insufficient wal_level for existin Andres Freund <andres@anarazel.de> 2018-10-31 22:47 pgsql: Disallow starting server with insufficient wal_level for existin Andres Freund <andres@anarazel.de> 2018-10-31 22:47 pgsql: Disallow starting server with insufficient wal_level for existin Andres Freund <andres@anarazel.de>
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