diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-09-04 20:20:05 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-09-04 20:33:36 -0400 |
commit | c8746f999ea2feba22832b485fba37b5301b54a3 (patch) | |
tree | c262ca79dcf0de6714b7c4da37e981cd3aa95cb8 /src/backend/access/gist/gistutil.c | |
parent | 9a851039aac6fc7b78a80e60699e7bd8924b6f12 (diff) | |
download | postgresql-c8746f999ea2feba22832b485fba37b5301b54a3.tar.gz postgresql-c8746f999ea2feba22832b485fba37b5301b54a3.zip |
Fix over-eager ping'ing in logical replication receiver.
Commit 3f60f690f only partially fixed the broken-status-tracking
issue in LogicalRepApplyLoop: we need ping_sent to have the same
lifetime as last_recv_timestamp. The effects are much less serious
than what that commit fixed, though. AFAICS this would just lead to
extra ping requests being sent, once per second until the sender
responds. Still, it's a bug, so backpatch to v10 as before.
Discussion: https://postgr.es/m/959627.1599248476@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions