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

From Joshua D. Drake
Subject Re: Should psql support URI syntax?
Date
Msg-id 1302114698.23164.17.camel@jd-desktop
Whole thread Raw
In response to Re: Should psql support URI syntax?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Should psql support URI syntax?
Re: Should psql support URI syntax?
List pgsql-hackers
Hello,

O.k., the basic JDBC syntax is:

jdbc:<driver>://<host>[:<port>]/<database_name> 

Where driver is the actual database such as postgresql or db2.

I am thinking something like:

postgres:ssl://localhost:5432/template

Many drivers support an extended syntax like:

postgres:ssl://localhost:5432/template1/?username=jd&password=foobar&ssl=true

But I don't know if we want to go there.

Sincerely,

Joshua D. Drake
-- 
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: Erdinc Akkaya
Date:
Subject: Proposal for GSoC : ADJ dashboard (Administration related software)
Next
From: "Kevin Grittner"
Date:
Subject: Re: Should psql support URI syntax?