Re: dblink versus long connection strings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: dblink versus long connection strings
Date: 2010-11-22 17:21:36
Message-ID: 29273.1290446496@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> On 11/22/2010 12:08 PM, Tom Lane wrote:
>> No, because = isn't disallowed in names ...

> Ok, true, but it still might not be a bad heuristic to use for issuing a
> warning on lookup.

The fine manual says that using "=" in a connection name might be unwise
because of the risk of confusion. It doesn't say that you should expect
to get a NOTICE every single time you use the name. People have
complained of postmaster log bloat for lots less reason than this.

In any case I don't see an argument why warning on connection creation
isn't sufficient.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-11-22 17:30:20 Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)
Previous Message Tom Lane 2010-11-22 17:17:26 Re: format() with embedded to_char() formatter