| От | Tom Lane |
|---|---|
| Тема | Re: [PATCH] Verify Checksums during Basebackups |
| Дата | |
| Msg-id | 3980.1522765933@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [PATCH] Verify Checksums during Basebackups (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [PATCH] Verify Checksums during Basebackups
|
| Список | pgsql-hackers |
I wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> Unless.. %ld is the wrong thing to print:
>> static int64 total_checksum_failures;
>> We should perhaps be using something other than %ld to print that?
> INT64_FORMAT.
BTW, don't just stick INT64_FORMAT into the message-to-be-translated,
or you'll break things for translation. Good practice is to sprintf
into a local char array with INT64_FORMAT, then include the number
into the displayed message with %s. You can find examples easily
by grepping for INT64_FORMAT.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера