Correction for replication slot creation error message in 9.6
Вложения
В списке pgsql-hackers по дате отправления:
| От | Ian Barwick |
|---|---|
| Тема | Correction for replication slot creation error message in 9.6 |
| Дата | |
| Msg-id | 56FC7A29.5070806@2ndquadrant.com обсуждение исходный текст |
| Ответы |
Re: Correction for replication slot creation error message
in 9.6
Re: Correction for replication slot creation error message in 9.6 Re: Correction for replication slot creation error message in 9.6 |
| Список | pgsql-hackers |
Hi
Currently pg_create_physical_replication_slot() may refer to
the deprecated wal_level setting "archive":
postgres=# SHOW wal_level ;
wal_level
-----------
minimal
(1 row)
postgres=# SELECT pg_create_physical_replication_slot('some_slot');
ERROR: replication slots can only be used if wal_level is >= archive
Patch changes the error message to:
ERROR: replication slots can only be used if wal_level is "replica" or "logical"
Explicitly naming the valid WAL levels matches the wording in the wal_level
error hint used in a couple of places, i.e.
"wal_level must be set to "replica" or "logical" at server start."
Regards
Ian Barwick
--
Ian Barwick http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера