A doubt about a newly added errdetail

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: A doubt about a newly added errdetail
Date: 2022-09-26 07:04:26
Message-ID: 20220926.160426.454497059203258582.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I saw the following message recently added to publicationcmds.c.

(ERROR: cannot use publication column list for relation "%s.%s"")
> DETAIL: Column list cannot be specified if any schema is part of the publication or specified in the list.

As my reading, the "the list" at the end syntactically means "Column
list" but that is actually wrong; it could be read as "the list
following TABLES IN" but that doesn't seem reasonable.

If I am right, it might should be something like the following:

+ Column list cannot be specified if any schema is part of the publication or specified in the command.
+ Column list cannot be specified if any schema is part of the publication or specified together.

What do you think about this?

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Kukushkin 2022-09-26 07:08:25 Re: pg_rewind WAL segments deletion pitfall
Previous Message kuroda.hayato@fujitsu.com 2022-09-26 06:57:28 [small patch] Change datatype of ParallelMessagePending from "volatile bool" to "volatile sig_atomic_t"