[COMMITTERS] pgsql: Rename WAL-related functions and views to use "lsn" not"locatio - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Rename WAL-related functions and views to use "lsn" not"locatio
Date
Msg-id E1d8qM2-0004Ip-Kl@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Rename WAL-related functions and views to use "lsn" not "location".

Per discussion, "location" is a rather vague term that could refer to
multiple concepts.  "LSN" is an unambiguous term for WAL locations and
should be preferred.  Some function names, view column names, and function
output argument names used "lsn" already, but others used "location",
as well as yet other terms such as "wal_position".  Since we've already
renamed a lot of things in this area from "xlog" to "wal" for v10,
we may as well incur a bit more compatibility pain and make these names
all consistent.

David Rowley, minor additional docs hacking by me

Discussion: https://postgr.es/m/CAKJS1f8O0njDKe8ePFQ-LK5-EjwThsDws6ohJ-+c6nWK+oUxtg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d10c626de47d8b048b663471c7785603a2ec8641

Modified Files
--------------
contrib/bloom/t/001_wal.pl                         |  2 +-
contrib/test_decoding/expected/ddl.out             |  2 +-
contrib/test_decoding/sql/ddl.sql                  |  2 +-
doc/src/sgml/func.sgml                             | 80 +++++++++++-----------
doc/src/sgml/high-availability.sgml                | 16 ++---
doc/src/sgml/logicaldecoding.sgml                  | 62 ++++++++---------
doc/src/sgml/monitoring.sgml                       | 16 ++---
doc/src/sgml/test-decoding.sgml                    |  2 +-
src/backend/access/transam/xlogfuncs.c             | 12 ++--
src/backend/catalog/system_views.sql               | 20 +++---
src/backend/utils/misc/pg_controldata.c            | 12 ++--
src/bin/pg_basebackup/t/030_pg_recvlogical.pl      |  2 +-
src/bin/pg_rewind/RewindTest.pm                    |  2 +-
src/bin/pg_rewind/libpq_fetch.c                    |  4 +-
src/include/catalog/catversion.h                   |  2 +-
src/include/catalog/pg_proc.h                      | 32 ++++-----
src/test/modules/commit_ts/t/002_standby.pl        |  8 +--
src/test/modules/commit_ts/t/003_standby_2.pl      |  4 +-
src/test/perl/PostgresNode.pm                      | 38 +++++-----
src/test/recovery/t/002_archiving.pl               |  4 +-
src/test/recovery/t/003_recovery_targets.pl        | 14 ++--
src/test/recovery/t/005_replay_delay.pl            |  4 +-
src/test/recovery/t/006_logical_decoding.pl        |  4 +-
src/test/recovery/t/008_fsm_truncation.pl          |  4 +-
.../recovery/t/010_logical_decoding_timelines.pl   |  2 +-
src/test/regress/expected/rules.out                | 10 +--
src/test/subscription/t/001_rep_changes.pl         |  2 +-
src/test/subscription/t/002_types.pl               |  2 +-
src/test/subscription/t/003_constraints.pl         |  2 +-
src/test/subscription/t/004_sync.pl                |  2 +-
src/test/subscription/t/005_encoding.pl            |  2 +-
31 files changed, 185 insertions(+), 185 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: [COMMITTERS] pgsql: Revert "Permit dump/reload of not-too-large >1GB tuples"
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Increase MAX_SYSCACHE_CALLBACKS to provide more room forextensi