Re: Sequence Access Methods, round two

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Kirill Reshke <reshkekirill@gmail.com>
Cc: Peter Eisentraut <peter@eisentraut.org>, Peter Smith <smithpb2250@gmail.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-09-04T03:15:24Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Refactor init_params() in sequence.c to not use FormData_pg_sequence_data

  2. Fix comment thinko in sequence.c

  3. Group more closely cache updates for backends in sequence.c

  4. Introduce sequence_*() access functions

Attachments

On Mon, Sep 01, 2025 at 01:33:45PM +0900, Michael Paquier wrote:
> Another rebase required due to the business with BufferGetPage() in
> 710e6c4301ee.
> 
> By the way, I have remembered the reason why I have introduced
> AT_AddColumnToSequence as a new ALTER TABLE subcommands: ACL check for
> sequences.  Like views, this simplifies the object type check a lot.

Rebased as v20 due to the GUC changes in 63599896545c.
--
Michael