RE: A doubt about a newly added errdetail
От
houzj.fnst@fujitsu.com
Тема
RE: A doubt about a newly added errdetail
Дата
Msg-id
OS0PR01MB5716264D789DEFDA9FD0728994559@OS0PR01MB5716.jpnprd01.prod.outlook.com
Ответ на
Re: A doubt about a newly added errdetail (Alvaro Herrera)
Список
Дерево обсуждения
A doubt about a newly added errdetail Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: A doubt about a newly added errdetail Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: A doubt about a newly added errdetail Amit Kapila <amit.kapila16@gmail.com>
Re: A doubt about a newly added errdetail Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: A doubt about a newly added errdetail Amit Kapila <amit.kapila16@gmail.com>
RE: A doubt about a newly added errdetail "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>
RE: A doubt about a newly added errdetail "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>
Re: A doubt about a newly added errdetail Amit Kapila <amit.kapila16@gmail.com>
Re: A doubt about a newly added errdetail Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: A doubt about a newly added errdetail Alvaro Herrera <alvherre@alvh.no-ip.org>
RE: A doubt about a newly added errdetail "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>
Re: A doubt about a newly added errdetail Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: A doubt about a newly added errdetail Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: A doubt about a newly added errdetail Amit Kapila <amit.kapila16@gmail.com>
Re: A doubt about a newly added errdetail Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: A doubt about a newly added errdetail Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: A doubt about a newly added errdetail Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: A doubt about a newly added errdetail Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: A doubt about a newly added errdetail Amit Kapila <amit.kapila16@gmail.com>
On Tuesday, September 27, 2022 3:21 PM Alvaro Herrera wrote:
>
> On 2022-Sep-27, Kyotaro Horiguchi wrote:
>
> > By the way, this is not an issue caused by the proposed patch, I see
> > the following message in the patch.
> >
> > - errdetail("Column list cannot be used
> for a partitioned table when %s is false.",
> > + errdetail("Column list cannot be
> specified for a partitioned
> > +table when %s is false.",
> >
> "publish_via_partition_root")));
> >
> > I think that the purpose of such separation of variable names is to
> > unify multiple messages differing only by the names (to keep
> > translation labor (relatively:p) low). In that sense, that separation
> > here is useless since I see no chance of having the same message with
> > another variable in future.
>
> Well, it also reduces chances for typos and such, so while it's not strictly
> necessary to do it this way, I tend to prefer it on new messages. However, as
> you say it's not very interesting when there's no possibility of duplication, so
> changing existing messages to this style when we have no other reason to
> change the message, is not a useful use of time. In this case we're changing
> the message in another way too, so I think it's okay.
Thanks for reviewing!
Just in case I misunderstand, it seems you mean the message style[1] is OK, right ?
[1]
errdetail("Column list cannot be specified for a partitioned table when %s is false.",
"publish_via_partition_root")));
Best regards,
Hou zj
В списке pgsql-hackers по дате отправления
От: Thomas Munro
Дата: