pgsql: modify segno. for pg_walfile_name() and pg_walfile_name_offset()
В списке pgsql-committers по дате отправления:
| От | Bruce Momjian |
|---|---|
| Тема | pgsql: modify segno. for pg_walfile_name() and pg_walfile_name_offset() |
| Дата | |
| Msg-id | E1r6gme-0075Kv-TC@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
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/20190726.172120.101752680.horikyota.ntt@gmail.com Co-authored-by: Kyotaro Horiguchi Backpatch-through: master Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/344afc77690b4cef2605420d67c1d1ceb28760cc Modified Files -------------- doc/src/sgml/func.sgml | 5 ----- src/backend/access/transam/xlogfuncs.c | 8 ++------ src/test/regress/expected/misc_functions.out | 30 +++++++++++++++++++++++++++- src/test/regress/sql/misc_functions.sql | 15 +++++++++++++- 4 files changed, 45 insertions(+), 13 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера