Re: walreceiver fallback_application_name - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: walreceiver fallback_application_name
Date
Msg-id AANLkTim9iTraqX3sEBCD_vR1yD94Fsxdp9R-T7n=izkC@mail.gmail.com
Whole thread Raw
In response to Re: walreceiver fallback_application_name  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: walreceiver fallback_application_name  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
List pgsql-hackers
On Sun, Jan 16, 2011 at 17:29, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> Since we now show the application name in pg_stat_replication, I think
>> it would make sense to have the walreceiver set
>> fallback_application_name on the connection string, like so:
>
> Seems reasonable, but "postgres" is a mighty poor choice of name
> for that, no?  I don't have any really great substitute suggestion
> --- best I can do offhand is "walreceiver" --- but "postgres" seems
> uselessly generic, not to mention potentially confusing compared
> to the default superuser name for instance.

I agree it's not a great name.

Is "walreceiver" something that "the average DBA" is going to realize
what it is? Perhaps go for something like "replication slave"?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ALTER TYPE 0: Introduction; test cases
Next
From: Tom Lane
Date:
Subject: Re: pg_basebackup for streaming base backups