Re: loss of transactions in streaming replication

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: loss of transactions in streaming replication
Дата
Msg-id CAHGQGwHncA_qFyugEWqRBS7KA8Cm-+n65nRMqrdBcZ4U4fkp+A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: loss of transactions in streaming replication  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Wed, Oct 19, 2011 at 3:31 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> (2) for this marginal improvement, you're giving up including
>> PQerrorMessage(streamConn) in the error message that ultimately gets
>> omitted, which seems like a substantial regression as far as
>> debuggability is concerned.
>
> I think that it's possible to include PQerrorMessage() in the error
> message. Will change the patch.

Attached is the updated version of the patch. When walreceiver fails to
send data to WAL stream, it emits WARNING with the message including
PQerrorMessage(), and also it emits the following DETAIL message:

    Walreceiver process will be terminated after all available data
have been received from WAL stream.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Вложения

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

Предыдущее
От: "Dickson S. Guedes"
Дата:
Сообщение: Re: Separating bgwriter and checkpointer
Следующее
От: "Dickson S. Guedes"
Дата:
Сообщение: Re: Separating bgwriter and checkpointer