From: | Alex <ash(at)commandprompt(dot)com> |
---|---|
To: | Daniel Farina <daniel(at)heroku(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Inconsistency in libpq connection parameters, and extension thereof |
Date: | 2012-06-11 19:07:15 |
Message-ID: | 87txyhpt0c.fsf@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Daniel Farina <daniel(at)heroku(dot)com> writes:
> On Tue, Jun 5, 2012 at 6:43 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>
>> Um. We oughta fix that. I'm not necessarily wedded to the old
>> throw-an-error definition, but there seems no good reason for these
>> two syntaxes to act inconsistently.
>
> I agree with that. The URIs may have been done this way as a
> concession to some small fragmentation that may have taken place
> before URIs were standardized, but perhaps the author can speak to
> that (he has been put on the To: list for this mail).
Sorry for the silence.
The original intent was to not error out on any extra parameters from
JDBC or other existing URI implementations. The example of a possible
typo in sslmode=require clearly demonstrates that this was not
a well-thought decision.
Anyway, I can see you've already sorted this out.
--
Alex
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2012-06-11 19:44:16 | Re: [COMMITTERS] pgsql: Run pgindent on 9.2 source tree in preparation for first 9.3 |
Previous Message | Lonni J Friedman | 2012-06-11 17:37:41 | Re: pg_basebackup blocking all queries with horrible performance |