| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: SR slaves and .pgpass |
| Date: | 2010-06-07 16:08:57 |
| Message-ID: | 4C0D1999.5090900@dunslane.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane wrote:
> Why don't we improve the code, instead? In particular make
> libpqrcv_connect() do
>
> - snprintf(conninfo_repl, sizeof(conninfo_repl), "%s replication=true", conninfo);
> + snprintf(conninfo_repl, sizeof(conninfo_repl), "%s database=replication replication=true", conninfo);
>
> I don't think it's unlikely that someone would try to enter a
> replication-specific password into ~/.pgpass.
>
>
>
+1. It's highly likely - that's how we got here in the first place. It
seems to me like a perfectly reasonable thing to do.
cheers
andrew
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Matteo Beccati | 2010-06-07 16:21:37 | Re: Re: Mailing list archives (was Re: [HACKERS] mailing list archiver chewing patches) |
| Previous Message | Dave Cramer | 2010-06-07 15:45:47 | pgstatindex still throws ERROR: value "3220078592" is out of range for type integer |