| From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
|---|---|
| To: | Atul Kumar <akumar14871(at)gmail(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: log wal file transfer in error logs |
| Date: | 2023-10-12 07:18:16 |
| Message-ID: | 56f149e58524ddb251dc18cf9b56e25da9c82263.camel@cybertec.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jana Mihalidesová | 2023-10-12 13:32:34 | List users privileges for whole cluster/all databases in the cluster |
| Previous Message | Sepideh Eidi | 2023-10-12 06:09:40 | Question About PostgreSQL Extensibility |