From 37163e22bddb30a235c9748f49ad54d5e99db142 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Fri, 7 Aug 2015 15:08:51 +0200 Subject: Address points made in post-commit review of replication origins. Amit reviewed the replication origins patch and made some good points. Address them. This fixes typos in error messages, docs and comments and adds a missing error check (although in a should-never-happen scenario). Discussion: CAA4eK1JqUBVeWWKwUmBPryFaje4190ug0y-OAUHWQ6tD83V4xg@mail.gmail.com Backpatch: 9.5, where replication origins were introduced. --- doc/src/sgml/catalogs.sgml | 9 +++++---- doc/src/sgml/func.sgml | 2 +- doc/src/sgml/replication-origins.sgml | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 7781c56f0eb..12471d1c6e1 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -5450,10 +5450,11 @@ local_lsn pg_lsn - This node's LSN that at - which remote_lsn has been replicated. Used to - flush commit records before persisting data to disk when using - asynchronous commits. + + This node's LSN at which remote_lsn has + been replicated. Used to flush commit records before persisting + data to disk when using asynchronous commits. + diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 2e1ac2f070f..1bd72485ac6 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -17421,7 +17421,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup()); pg_replication_origin_session_progress - pg_replication_origin_progress(flush bool) + pg_replication_origin_session_progress(flush bool) pg_lsn diff --git a/doc/src/sgml/replication-origins.sgml b/doc/src/sgml/replication-origins.sgml index 40fcc6d3d0a..67f512207e3 100644 --- a/doc/src/sgml/replication-origins.sgml +++ b/doc/src/sgml/replication-origins.sgml @@ -57,7 +57,7 @@ Using the replication origin infrastructure a session can be marked as replaying from a remote node (using the pg_replication_origin_session_setup() - function. Additionally the LSN and commit + function). Additionally the LSN and commit timestamp of every source transaction can be configured on a per transaction basis using pg_replication_origin_xact_setup(). -- cgit v1.2.3