Re: WIP: URI connection string support for libpq - Mailing list pgsql-hackers

From Alexander Shulgin
Subject Re: WIP: URI connection string support for libpq
Date
Msg-id 1323816239-sup-2005@moon
Whole thread Raw
In response to Re: WIP: URI connection string support for libpq  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: WIP: URI connection string support for libpq
List pgsql-hackers
Excerpts from Robert Haas's message of Tue Dec 13 23:31:32 +0200 2011:
>
> On Mon, Dec 12, 2011 at 6:55 PM, Peter van Hardenberg <pvh@pvh.ca> wrote:
> > I'd like to make the controversial proposal that the URL prefix should
> > be "postgres:" instead of "postgresql:". Postgres is a widely accepted
> > nickname for the project, and is eminently more pronounceable. Once
> > the url is established it will be essentially impossible to change
> > later, but right now only a nearly insurmountable mailing list thread
> > prevents it.
>
> That, and the fact the JDBC is already doing it the other way.  A
> reasonable compromise might be to accept either one.  AIUI, part of
> what Alexander was aiming for here was to "unite the clans", so to
> speak, and it would seem a bit unfriendly (and certainly
> counter-productive as regards that goal) to pull the rug out from him
> by refusing to support that syntax over what is basically a
> supermassive bikeshed.  However, being generous in what we accept
> won't cost anything, so why not?

(oops, misfired... now sending to the list)

I was going to put a remark about "adding to the soup" here, but realized that if this is actually committed, "the
soup"is gonna be like this: libpq-supported syntax vs. everything else (think JDBC, or is there any other driver in the
wildnot using libpq?)  This is in the ideal world, where every binding is updated to embrace the new syntax and users
haveupdated all of their systems, etc. 

Before that, why don't also accept "psql://", "pgsql://", "postgre://" and anything else?  Or wait, aren't we adding to
thesoup again (or rather putting the soup right into libpq?) 


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: LibreOffice driver 2: MIT Kerberos vs Microsoft Kerberos
Next
From: Greg Smith
Date:
Subject: Re: Configuration include directory