Remove INT64_FORMAT in translatable strings

Поиск
Список
Период
Сортировка
От Japin Li
Тема Remove INT64_FORMAT in translatable strings
Дата
Msg-id MEYP282MB16694F7CC1B119B4ECDD8CBEB6139@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответы Re: Remove INT64_FORMAT in translatable strings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

I found the following lines in pg_backup_tar.c.

    if (len != th->fileLen)
    {
        char        buf1[32],
                    buf2[32];

        snprintf(buf1, sizeof(buf1), INT64_FORMAT, (int64) len);
        snprintf(buf2, sizeof(buf2), INT64_FORMAT, (int64) th->fileLen);
        fatal("actual file length (%s) does not match expected (%s)",
              buf1, buf2);
    }

we can rely on %lld/%llu and we decided to use them in translatable strings.
See 6a1cd8b.

However, I am not sure how to update the *.po files under the pg_dump/po
directory. Any suggestions?

--
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.


Вложения

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

Предыдущее
От: Pavel Borisov
Дата:
Сообщение: Probable CF bot degradation
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: On login trigger: take three