Re: Improve CREATE/ALTER PUBLICATION syntax for EXCEPT

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Peter Smith <smithpb2250(at)gmail(dot)com>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Improve CREATE/ALTER PUBLICATION syntax for EXCEPT
Date: 2026-07-22 11:51:37
Message-ID: CAHGQGwFJQNmiGX8tsmuCsv1yRWkS_sZkWA+Z8Hq6O2efstR3oA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Wed, Jul 22, 2026 at 1:35 PM Peter Smith <smithpb2250(at)gmail(dot)com> wrote:
> So, the suggested synopsis change might seem good today, but in a
> couple of years IMO we'd probably want to change it back again.

Your point seems reasonable to me. So, how about keeping a reusable
production, but making it represent the entire EXCEPT table list
instead of a single list element?

ALL TABLES [ EXCEPT ( except_table_list ) ]
where except_table_list is:
TABLE table_object [, [ TABLE ] table_object ] ...

This avoids having list notation in both the EXCEPT clause and the definition
of except_table_object, which makes the current synopsis a bit hard to read.
It also keeps the EXCEPT syntax probably reusable for future command support.

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Smith 2026-07-23 01:01:26 Re: Improve CREATE/ALTER PUBLICATION syntax for EXCEPT
Previous Message Laurenz Albe 2026-07-22 10:22:23 Re: Add "io worker" as backend_type to the pg_stat_activity documentation