Re: Review items for EXCEPT TABLE publication

From: Peter Smith <smithpb2250(at)gmail(dot)com>
To: vignesh C <vignesh21(at)gmail(dot)com>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Review items for EXCEPT TABLE publication
Date: 2026-09-14 04:40:14
Message-ID: CAHut+PtvUMqLK3eYqa7bGYhKrf8Ck-iBWSSSBU_SFfp3vti0mQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Sep 11, 2026 at 9:59 PM vignesh C <vignesh21(at)gmail(dot)com> wrote:
>
> On Fri, 11 Sept 2026 at 16:36, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
> >
> > I am fine with the single message but how about changing the HINT to:
> > "Drop the table from the publication, or remove it from the
> > publication's EXCEPT clause, first." because the proposed message is
> > not suitable for the EXCEPT case.
>
> Here is an updated v5 version to handle the suggested change.
>

Hi Vignesh.

(I was about to post my v5 review comments when I saw this was already
pushed -- posting anyway)

+ errhint("Drop the table from the publication, or remove it from the
publication's EXCEPT clause, first.")));

Looks good, but isn't it more common for an errhint to say what
command to use instead of just "make this happen"?

e.g.
"First use ALTER PUBLICATION ... to drop the table from the
publication, or to remove it from the publication's EXCEPT clause."

======
Kind Regards,
Peter Smith
Fujitsu Australia

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-09-14 05:00:49 Re: Support for 8-byte TOAST values, round two
Previous Message Tom Lane 2026-09-14 04:32:18 Re: Translation of the NextOID message in pg_controldata