pgsql: Disallow starting server with insufficient wal_level forexistin
В списке pgsql-committers по дате отправления:
| От | Andres Freund |
|---|---|
| Тема | pgsql: Disallow starting server with insufficient wal_level forexistin |
| Дата | |
| Msg-id | E1gHzGr-0000ss-PR@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
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(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера