pgsql: Fix pg_recvlogical avoidance of superfluous Standby Status Updat

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix pg_recvlogical avoidance of superfluous Standby Status Updat
Date: 2020-05-14 03:44:06
Message-ID: E1jZ4n0-0007o0-6X@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix pg_recvlogical avoidance of superfluous Standby Status Update.

The defect suppressed a Standby Status Update message when bytes flushed
to disk had changed but bytes received had not changed. If
pg_recvlogical then exited with no intervening Standby Status Update,
the next pg_recvlogical repeated already-flushed records. The defect
could also cause superfluous messages, which are functionally harmless.
Back-patch to 9.5 (all supported versions).

Discussion: https://postgr.es/m/20200502221647.GA3941274@rfd.leadboat.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/970ed4493d8203a0e081c9616908d5b6639fff89

Modified Files
--------------
src/bin/pg_basebackup/pg_recvlogical.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2020-05-14 04:29:06 pgsql: Fix the MSVC build for versions 2015 and later.
Previous Message Tom Lane 2020-05-14 03:37:04 pgsql: Doc: split up wait_event table.