Re: Should psql support URI syntax? - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: Should psql support URI syntax?
Date
Msg-id 1301676227.2324.1.camel@jd-desktop
Whole thread Raw
In response to Re: Should psql support URI syntax?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Should psql support URI syntax?  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: Should psql support URI syntax?  (Christopher Browne <cbbrowne@gmail.com>)
List pgsql-hackers
On Fri, 2011-04-01 at 08:13 -0400, Andrew Dunstan wrote:

> >> That said, I do support adding this in the future, if only to keep up
> >> with the Jones'.
> > So are the ones out there *already* even compatible, before we start
> > adding our own? For example, for JDBC I beleive it has to be
> > jdbc:postgresql://blahblah... Even if you can say the jdbc part is
> > protocol specific, the example quoted by JD had pgsql://. How many
> > other combinations can we find already out in the wild, and how do we
> > pick which one to use in this case?
> >
> 
> 
> Of course they aren't compatible. So we solve that by just adding to the 
> soup!

Well I would argue that if compatibility (as opposed to familiarity) is
our goal, we need to focus on one and only one syntax, JDBC. It doesn't
matter our particular bent, JDBC is the one that is in the most use.

If we can agree on syntax we want to support, I would put efforts into
working a patch.

JD

-- 
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt



pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Process local hint bit cache
Next
From: Dan Ports
Date:
Subject: trivial patch: show SIREAD pids in pg_locks