Re: Fix publisher-side sequence permission reporting
Fujii Masao <masao.fujii@gmail.com>
From: Fujii Masao <masao.fujii@gmail.com>
To: Tristan Partin <tristan@partin.io>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-06-19T14:15:52Z
Lists: pgsql-hackers
Attachments
- v2-0002-doc-Clarify-pg_get_sequence_data-privileges-and-N.patch (application/octet-stream) patch v2-0002
- v2-0001-Fix-misreporting-of-publisher-sequence-permission.patch (application/octet-stream) patch v2-0001
On Fri, Jun 19, 2026 at 8:11 AM Tristan Partin <tristan@partin.io> wrote: > The patch looks good to me! I had one suggestion: > > > ########## > > # Ensure that insufficient privileges on the publisher for a sequence do not > > -# disrupt the subscriber. The subscriber should log a warning and continue > > -# retrying. > > +# get misreported as a missing sequence. The subscriber should log a warning > > +# and continue retrying. > > ########## > > I think a better comment might be: > > Ensure that insufficient privileges on the publisher for a sequence > are reported correctly... > > My reasoning for suggesting that is because your comment would to > indicate that any warning is accurate as long as it isn't related to > a missing sequence. Thanks for the review! I've updated the patch as suggested. Updated patches attached. Regards, -- Fujii Masao
Commits
-
Fix unlogged sequence corruption after standby promotion
- d2980067bc3b 15 (unreleased) landed
- 913d3b610ccd 16 (unreleased) landed
- a1ed6a9a031a 17 (unreleased) landed
- 627605713074 18 (unreleased) landed
- 22af34b98362 19 (unreleased) landed
- 8e684ce11dda master landed
-
doc: Clarify pg_get_sequence_data() privileges and NULL results
- 031904048aa2 19 (unreleased) landed
-
Fix misreporting of publisher sequence permissions during sync
- d4a657b0a4db 19 (unreleased) landed
-
Introduce pg_sequence_read_tuple().
- c8b06bb969bf 18.0 cited