[HACKERS] pg_receivewal and messages printed in non-verbose mode

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема [HACKERS] pg_receivewal and messages printed in non-verbose mode
Дата
Msg-id CAB7nPqSG0yirmwRcEXqHXCpqjuyK+NYmn_z8ACFN24Ob4jthow@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] pg_receivewal and messages printed in non-verbose mode  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
Hi all,

I have noticed that the following messages can show up from
pg_receivewal even if the verbose mode is not used:       if (prevtimeline != 0 && prevtimeline != timeline)
  fprintf(stderr, _("%s: switched to timeline %u at %X/%X\n"),                               progname, timeline,
                      (uint32) (prevpos >> 32), (uint32) prevpos);       if (time_to_abort)       {
fprintf(stderr,_("%s: received interrupt signal, exiting\n"),                               progname);
returntrue;       }
 
Those come from stop_streaming in pg_receivewal.c. Shouldn't those
messages only show up to the user if --verbose is used? It seems
strange to me that at least the first one is written to the user as
that's not an error after promoting a standby.

Thanks,
-- 
Michael



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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] pg_subscription_rel entry can be updated concurrently
Следующее
От: Noah Misch
Дата:
Сообщение: Re: [HACKERS] Get stuck when dropping a subscription during synchronizing table