Re: 'replication' keyword on .pgpass (Streaming Replication)

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>, Andrew Dunstan <andrew@dunslane.net>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-01-07T14:53:12Z
Lists: pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> On Thu, Jan 7, 2010 at 5:46 PM, Magnus Hagander <magnus@hagander.net> wrote:
>> However, wouldn't it make more logical sense to replace "host/hostssl"
>> with "replication/replicationssl" rather than overload the database
>> field?

> Seems good. How about the following formats?

>   replication     user  CIDR-address  auth-method  [auth-options]
>   replicationssl  user  CIDR-address  auth-method  [auth-options]
>   replication     user  IP-address  IP-mask  auth-method  [auth-options]
>   replicationssl  user  IP-address  IP-mask  auth-method  [auth-options]

> Note that "database" field has been removed since it's useless
> for replication.

I'm getting more and more confused here.  I thought we were talking
about client-side .pgpass.  This seems to be talking about pg_hba.conf.

			regards, tom lane