summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorBruce Momjian2023-11-25 00:44:09 +0000
committerBruce Momjian2023-11-25 00:44:09 +0000
commit344afc77690b4cef2605420d67c1d1ceb28760cc (patch)
tree69f4fc0d673dc2d51353ab0f4de14ca22e887706 /src/backend/access/gist/gistxlog.c
parent5c4c7efaddd4ddd70176dadf3097efcacf811adf (diff)
modify segno. for pg_walfile_name() and pg_walfile_name_offset()
Previously these functions returned the previous segment number if the LSN was on a segment boundary. We now always return the current segment number for an LSN. Docs updated to reflect this change. Regression tests added, author Andres Freund. Also mentioned in thread https://postgr.es/m/flat/20220204225057.GA1535307%40nathanxps13#d964275c9540d8395e138efc0a75f7e8 BACKWARD INCOMPATIBILITY Reported-by: Kyotaro Horiguchi Discussion: https://postgr.es/m/[email protected] Co-authored-by: Kyotaro Horiguchi Backpatch-through: master
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions