create_help.pl treats <literal> as replaceable

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: create_help.pl treats <literal> as replaceable
Date: 2022-05-17 08:43:42
Message-ID: 20220517.174342.1884842412165214815.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I found it annoying that sql_help.c contains a literal parameter as a
translatable string.

The cause is that create_help.pl treats <literal>match</> as a
replaceable. The attached excludes literals from translatable strings.

By a quick look it seems to me that the "match" in "COPY.. HEADER
match" is the first and only instance of a literal parameter as of
PG15.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
0001-Do-not-treat-literal-words-as-translatable.patch text/x-patch 980 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message houzj.fnst@fujitsu.com 2022-05-17 09:10:00 RE: bogus: logical replication rows/cols combinations
Previous Message Michael Paquier 2022-05-17 07:58:11 Re: amcheck is using a wrong macro to check compressed-ness