From: Anjul Tyagi <anjul@ibosstech-us.com>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Client IP in Patroni
Date: Mon, 21 Nov 2022 15:14:40 +0000
Message-ID: <em93afa279-dd83-4c24-83fb-d087c8eb3449@4cf9dad7.com> (raw)
Team,
We have setup in Postgres HA Cluster using Patroni. Also we have used
the HAProxy for load balancing...
On Postgres side, we are getting HaProxy IP instead of Client IP, while
checking in pg_stat_activity tables. Can you please suggest the changes
needs to be done on HAProxy or Postgres side?
Regards,
Anjul TYAGI
Group Technical Manager
If a solution exists, I’ll deliver it; If it doesn't exist, I’ll create
it
ü Go Green
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-admin@postgresql.org
Cc: anjul@ibosstech-us.com
Subject: Re: Client IP in Patroni
In-Reply-To: <em93afa279-dd83-4c24-83fb-d087c8eb3449@4cf9dad7.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox