Skip to content

Commit 0fe4383

Browse files
petrosagghackorum
authored andcommitted
logical/worker: log received keepalive messages
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
1 parent b597835 commit 0fe4383

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/backend/replication/logical/worker.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4127,6 +4127,10 @@ LogicalRepApplyLoop(XLogRecPtr last_received)
41274127
timestamp = pq_getmsgint64(&s);
41284128
reply_requested = pq_getmsgbyte(&s);
41294129

4130+
elog(LOG, "received keepalive with end_lsn %X/%08X (reply %d)",
4131+
LSN_FORMAT_ARGS(end_lsn),
4132+
reply_requested);
4133+
41304134
if (last_received < end_lsn)
41314135
last_received = end_lsn;
41324136

0 commit comments

Comments
 (0)