Re: log wal file transfer in error logs - Mailing list pgsql-general

From Laurenz Albe
Subject Re: log wal file transfer in error logs
Date
Msg-id 56f149e58524ddb251dc18cf9b56e25da9c82263.camel@cybertec.at
Whole thread Raw
In response to Re: log wal file transfer in error logs  (Atul Kumar <akumar14871@gmail.com>)
List pgsql-general
On Wed, 2023-10-11 at 23:20 +0530, Atul Kumar wrote:
> Yes, I meant streamed, I need to log those wal files that are getting streamed
> and replayed on standby servers in error logs of primary as well as standby servers.
>
> So that I can cross check that whichever file is streamed has been replayed on standby.
>
> I need to keep a track of these wal files in db error logs.

I don't think you can do that, and it seems like a strange requirement to me.

Instead, you should monitor pg_stat_replication.

Yours,
Laurenz Albe



pgsql-general by date:

Previous
From: Sepideh Eidi
Date:
Subject: Question About PostgreSQL Extensibility
Next
From: Jana Mihalidesová
Date:
Subject: List users privileges for whole cluster/all databases in the cluster