Re: Support EXCEPT for ALL SEQUENCES publications - Mailing list pgsql-hackers

From Shlok Kyal
Subject Re: Support EXCEPT for ALL SEQUENCES publications
Date
Msg-id CANhcyEXxi-OnjVuKs47tT7kfQRbPESZs_z4q9jZFK15yQ0z+LA@mail.gmail.com
Whole thread
In response to Re: Support EXCEPT for ALL SEQUENCES publications  (Peter Smith <smithpb2250@gmail.com>)
Responses Re: Support EXCEPT for ALL SEQUENCES publications
List pgsql-hackers
On Thu, 2 Jul 2026 at 04:53, Peter Smith <smithpb2250@gmail.com> wrote:
>
> Only trivial comments for v16*
>
> //////
> v16-0001
> //////
>
> ======
> src/bin/pg_dump/pg_dump.c
>
> getPublictions:
>
> 1.
>   /*
> - * Get the list of tables for publications specified in the EXCEPT
> - * TABLE clause.
> + * Get the list of tables and sequences for publications specified in
> + * the EXCEPT clause.
>   *
>
> Perhaps this comment should say that EXCEPT (TABLE ...) is introduced
> in PG19, and EXCEPT (SEQUENCE ...) is introduced in PG20. That way
> there are no surprises about the different version checks that follow.
>
> ======
> src/test/subscription/t/037_except.pl
>
> 2.
> +# Check the initial data on subscriber
> +$result = $node_subscriber->safe_psql('postgres',
> + "SELECT last_value, is_called FROM seq_excluded_in_pub1");
> +is($result, '1|f', 'sequences in EXCEPT list is excluded');
>
> typo: plural. Should be "sequences in the EXCEPT list are excluded"
>
> //////
> v16-0002
> //////
>
> ======
> src/test/subscription/t/037_except.pl
>
> 1.
> +is($result, '1|f', 'sequences in EXCEPT list is excluded');
>
> typo: plural. Should be "sequences in the EXCEPT list are excluded"
>
Thanks Peter for the review. I have addressed the comments.
Also the patch needed a rebase after the recent commits.

Please find the updated v17 patch attached.

Thanks,
Shlok Kyal

Attachment

pgsql-hackers by date:

Previous
From: solai v
Date:
Subject: Re: Allow ON CONFLICT DO UPDATE to return EXCLUDED values
Next
From: John Naylor
Date:
Subject: Re: Update EnableTimeoutParams timeout type comment