From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Adrian von Bidder <avbidder(at)fortytwo(dot)ch>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Should psql support URI syntax? |
Date: | 2011-04-06 18:31:38 |
Message-ID: | 1302114698.23164.17.camel@jd-desktop |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2011-04-06 18:35:01 | Re: Should psql support URI syntax? |
Previous Message | Erdinc Akkaya | 2011-04-06 18:06:24 | Proposal for GSoC : ADJ dashboard (Administration related software) |