| From: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | INT64_FORMAT in translatable strings |
| Date: | 2021-04-21 11:00:00 |
| Message-ID: | 20210421.200000.1462448394029407895.horikyota.ntt@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hello.
I found the following lines in xlogprefetch.c.
> ereport(LOG,
> (errmsg("recovery finished prefetching at %X/%X; "
> "prefetch = " UINT64_FORMAT ", "
> "skip_hit = " UINT64_FORMAT ", "
...
It is found in ja.po as
"recovery finished prefetching at %X/%X; prefetch = "
. . . .
Anyway we can rely on %lld/%llu and we decided to use them in
translatable strings. So the attached fixes (AFAICS) all instances of
the macros in translatable strings.
# I just found 3286065651 did one instance of that so I excluded that
# from this patch.
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Don-t-use-INT64_FORMAT-inside-message-strings-take-2.patch | text/x-patch | 4.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andy Fan | 2021-04-21 11:47:27 | Re: prerequisites of pull_up_sublinks |
| Previous Message | Michael Paquier | 2021-04-21 10:47:38 | Re: libpq compression |