pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sergei Kornilov <sk@zsrv.org>
To: daff@ptmx.at <daff@ptmx.at>
To: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #16288: application_name from client's primary_conninfo not set in pg_stat_replication on master
Date: Mon, 09 Mar 2020 17:31:18 +0300
Message-ID: <4325811583763530@vla5-dcf36e533bf7.qloud-c.yandex.net> (raw)
In-Reply-To: <16288-67b2b6ad2d4178c6@postgresql.org>
References: <16288-67b2b6ad2d4178c6@postgresql.org>

Hello

Works for me.
Please share results of such queries:

select * from pg_stat_wal_receiver;
select * from pg_file_settings where name = 'primary_conninfo';

Cluster name will be used as fallback application name when no application_name was provided. I think you have several primary_conninfo, one of which is in postgresql.auto.conf that was created by pg_basebackup -R

regards, Sergei





view thread (3+ messages)  latest in thread

Message-ID: <4325811583763530@vla5-dcf36e533bf7.qloud-c.yandex.net>
Permalink:  ../4325811583763530@vla5-dcf36e533bf7.qloud-c.yandex.net/
Also on:    postgresql.org/message-id/4325811583763530@vla5-dcf36e533bf7.qloud-c.yandex.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: sk@zsrv.org, daff@ptmx.at
  Subject: Re: BUG #16288: application_name from client's primary_conninfo not set in pg_stat_replication on master
  In-Reply-To: <4325811583763530@vla5-dcf36e533bf7.qloud-c.yandex.net>
  References: <16288-67b2b6ad2d4178c6@postgresql.org> <4325811583763530@vla5-dcf36e533bf7.qloud-c.yandex.net>

* 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