From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Rename WAL-related functions and views to use "lsn" not "locatio
Date: Thu, 11 May 2017 15:50:14 +0000
Message-ID: <E1d8qM2-0004Ip-Kl@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Rename WAL-related functions and views to use "lsn" not "locatio
In-Reply-To: <E1d8qM2-0004Ip-Kl@gemulon.postgresql.org>
References: <E1d8qM2-0004Ip-Kl@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox