Re: warning to publication created and wal_level is not set to logical

Поиск
Список
Период
Сортировка
От Lucas Viecelli
Тема Re: warning to publication created and wal_level is not set to logical
Дата
Msg-id CAPjy-57VkFhHGLY2rtUNjBxN_GwcvbyfEh=bDCAMN3uJLNuV3g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: warning to publication created and wal_level is not set to logical  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: warning to publication created and wal_level is not set to logical  (Lucas Viecelli <lviecelli199@gmail.com>)
Список pgsql-hackers
Hi Thomas.

Attached is the rebased
 
The July Commitfest has started.  This patch is in "Needs review"
status, but it doesn't apply.  If I read the above discussion
correctly, it seems there is agreement that a warning here is a good
idea to commit this patch.  Could you please post a rebased patch?


I followed your suggestion and changed the message and added HINT. I hope everything is agreed now.
 
I wonder if it would be more typical project style to put the clue on
what to do into an "errhint" message, something like this:

WARNING: insufficient wal_level to publish logical changes
HINT:  Set wal_level to logical before creating subscriptions.

--

Lucas Viecelli


Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCH v4] Add \warn to psql
Следующее
От: Ryan Lambert
Дата:
Сообщение: Re: [Proposal] Table-level Transparent Data Encryption (TDE) and KeyManagement Service (KMS)