diff options
author | Amit Kapila <akapila@postgresql.org> | 2025-10-06 08:27:22 +0000 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2025-10-06 08:30:16 +0000 |
commit | b93172ca59f4ae317b2b9dfbf7f342b237101256 (patch) | |
tree | 50da1941b3bee6231b1b145fdf2cda631f825379 /src/backend/utils/adt/encode.c | |
parent | 42c6b74d8928885135ba35ffdb7fb60602953e2d (diff) |
Expose sequence page LSN via pg_get_sequence_data.
This patch enhances the pg_get_sequence_data function to include the
page-level LSN (Log Sequence Number) of the sequence. This additional
metadata will be used by upcoming patches to support synchronization
of sequences during logical replication.
By exposing the LSN, we enable more accurate tracking of sequence
changes, which is essential for maintaining consistency across
replicated nodes.
Author: vignesh C <vignesh21@gmail.com>
Reviewed-by: shveta malik <shveta.malik@gmail.com>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://www.postgresql.org/message-id/CAA4eK1LC+KJiAkSrpE_NwvNdidw9F2os7GERUeSxSKv71gXysQ@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/encode.c')
0 files changed, 0 insertions, 0 deletions