Re: dblink versus long connection strings - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: dblink versus long connection strings
Date
Msg-id 4CEAA489.9070702@dunslane.net
Whole thread Raw
In response to Re: dblink versus long connection strings  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: dblink versus long connection strings
List pgsql-hackers

On 11/22/2010 12:08 PM, Tom Lane wrote:
> Andrew Dunstan<andrew@dunslane.net>  writes:
>> On 11/22/2010 11:51 AM, Tom Lane wrote:
>>> Perhaps a reasonable compromise is to issue the truncation warnings when
>>> an overlength name is being *entered* into the connection table, but not
>>> for simple lookups.
>> Can't we distinguish a name from a conninfo string by the presence of an
>> = sign?
> 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.

cheers

andrew


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)
Next
From: Tom Lane
Date:
Subject: Re: format() with embedded to_char() formatter