]> granicus.if.org Git - postgresql/commit
Rename WAL-related functions and views to use "lsn" not "location".
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 11 May 2017 15:49:59 +0000 (11:49 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 11 May 2017 15:49:59 +0000 (11:49 -0400)
commitd10c626de47d8b048b663471c7785603a2ec8641
tree5506d3a60630deacc55d8f7edb9c51d7f634eec6
parentb66adb7b0c83e632e0f881f828fa6f4233d01d06
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
31 files changed:
contrib/bloom/t/001_wal.pl
contrib/test_decoding/expected/ddl.out
contrib/test_decoding/sql/ddl.sql
doc/src/sgml/func.sgml
doc/src/sgml/high-availability.sgml
doc/src/sgml/logicaldecoding.sgml
doc/src/sgml/monitoring.sgml
doc/src/sgml/test-decoding.sgml
src/backend/access/transam/xlogfuncs.c
src/backend/catalog/system_views.sql
src/backend/utils/misc/pg_controldata.c
src/bin/pg_basebackup/t/030_pg_recvlogical.pl
src/bin/pg_rewind/RewindTest.pm
src/bin/pg_rewind/libpq_fetch.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/test/modules/commit_ts/t/002_standby.pl
src/test/modules/commit_ts/t/003_standby_2.pl
src/test/perl/PostgresNode.pm
src/test/recovery/t/002_archiving.pl
src/test/recovery/t/003_recovery_targets.pl
src/test/recovery/t/005_replay_delay.pl
src/test/recovery/t/006_logical_decoding.pl
src/test/recovery/t/008_fsm_truncation.pl
src/test/recovery/t/010_logical_decoding_timelines.pl
src/test/regress/expected/rules.out
src/test/subscription/t/001_rep_changes.pl
src/test/subscription/t/002_types.pl
src/test/subscription/t/003_constraints.pl
src/test/subscription/t/004_sync.pl
src/test/subscription/t/005_encoding.pl