pgsql: Warn if wal_level is too low when creating a publication.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Warn if wal_level is too low when creating a publication.
Дата
Msg-id E1hm6Ww-0008IG-5b@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Warn if wal_level is too low when creating a publication.

Provide a hint to users that they need to increase wal_level before
subscriptions can work.

Author: Lucas Viecelli, with some adjustments by Thomas Munro
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/CAPjy-57rn5Y9g4e5u--eSOP-7P4QrE9uOZmT2ZcUebF8qxsYhg%40mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/commands/publicationcmds.c       |  8 ++++++++
src/test/regress/expected/object_address.out |  3 +++
src/test/regress/expected/publication.out    | 13 +++++++++++++
src/test/regress/sql/object_address.sql      |  3 +++
src/test/regress/sql/publication.sql         | 13 +++++++++++++
5 files changed, 40 insertions(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix get_actual_variable_range() to cope with broken HOT chains.
Следующее
От: Thomas Munro
Дата:
Сообщение: pgsql: Introduce timed waits for condition variables.