Re: Cluster name in ps output - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Cluster name in ps output
Date
Msg-id 20134.1404484423@sss.pgh.pa.us
Whole thread Raw
In response to Re: Cluster name in ps output  (Vik Fearing <vik.fearing@dalibo.com>)
Responses Re: Cluster name in ps output  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Vik Fearing <vik.fearing@dalibo.com> writes:
>> You mean that if synchronous_standby_names is an empty it automatically
>> should be set to cluster_name?

> No, I mean that synchronous_standby_names should look at cluster_name
> first, and if it's not set then unfortunately look at application_name
> for backward compatibility.

I think you're failing to explain yourself very well.  What you really
mean is that we should use cluster_name not application_name to determine
the name that a standby server reports to the master.

There's something to that, perhaps, but I think that the mechanism we use
for doing the reporting involves the application_name parameter passed
through libpq.  It might be a bit painful to change that, and I'm not
entirely sure it'd be less confusing.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Issue while calling new PostgreSQL command from a Java Application
Next
From: Tom Lane
Date:
Subject: Re: No toast table for pg_shseclabel but for pg_seclabel