public inbox for pgsql-novice@postgresql.org  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Subramanian,Ramachandran <ramachandran.subramanian@alte-leipziger.de>
To: pgsql-novice@lists.postgresql.org <pgsql-novice@lists.postgresql.org>
Subject: Re: AW: Replication Testing- How to introduce a Lag
Date: Fri, 20 Mar 2026 14:38:31 +0100
Message-ID: <8b38fa5141905f9ad6983b8d5ae944e812e3d28a.camel@cybertec.at> (raw)
In-Reply-To: <e1e41761323040228570cf6a7e02518e@alte-leipziger.de>
References: <aadb9058660d4e10b5cee44b82458802@alte-leipziger.de>
	<f3927bc3a9baf4400325b91652869907f0581c97.camel@cybertec.at>
	<e1e41761323040228570cf6a7e02518e@alte-leipziger.de>

On Fri, 2026-03-20 at 10:47 +0000, Subramanian,Ramachandran wrote:
> how can the last replayed be more than the last received?

It shouldn't be - but I don't understand your script, in particular
which query is issused on which server.

Look at "pg_stat_replication" on the primary server.

Yours,
Laurenz Albe





reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-novice@postgresql.org
  Cc: laurenz.albe@cybertec.at, ramachandran.subramanian@alte-leipziger.de, pgsql-novice@lists.postgresql.org
  Subject: Re: AW: Replication Testing- How to introduce a Lag
  In-Reply-To: <8b38fa5141905f9ad6983b8d5ae944e812e3d28a.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox