Re: [HACKERS] gitlab post-mortem: pg_basebackup waiting forcheckpoint
От | Michael Banck |
---|---|
Тема | Re: [HACKERS] gitlab post-mortem: pg_basebackup waiting forcheckpoint |
Дата | |
Msg-id | 1486808720.24568.103.camel@credativ.de обсуждение исходный текст |
Ответ на | Re: [HACKERS] gitlab post-mortem: pg_basebackup waiting for checkpoint (Magnus Hagander <magnus@hagander.net>) |
Ответы |
Re: [HACKERS] gitlab post-mortem: pg_basebackup waiting forcheckpoint
|
Список | pgsql-hackers |
Hi, Am Samstag, den 11.02.2017, 11:07 +0100 schrieb Magnus Hagander: > As for the code, while I haven't tested it, isn't the "checkpoint > completed" message in the wrong place? Doesn't PQsendQuery() complete > immediately, and the check needs to be put *after* the PQgetResult() > call? I guess you're right, I've moved it further down. There is in fact a message about the xlog location (unless you switch off wal entirely), but having another one right before that mentioning the completed checkpoint sounds ok to me. There's also some inconsistencies around which messages are prepended with "pg_basebackup: " and which are translatable; I guess all messages printed on --verbose should be translatable? Also, as almost all messages have a "pg_basebackup: " prefix, I've added it to the rest. Michael -- Michael Banck Projektleiter / Senior Berater Tel.: +49 2166 9901-171 Fax: +49 2166 9901-100 Email: michael.banck@credativ.de credativ GmbH, HRB Mönchengladbach 12080 USt-ID-Nummer: DE204566209 Trompeterallee 108, 41189 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
Вложения
В списке pgsql-hackers по дате отправления: