| From: | Florian Weimer <fweimer(at)bfk(dot)de> |
|---|---|
| To: | Alexander Shulgin <ash(at)commandprompt(dot)com> |
| Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Notes on implementing URI syntax for libpq |
| Date: | 2011-11-23 11:04:47 |
| Message-ID: | 82hb1vyu9c.fsf@mid.bfk.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
* Alexander Shulgin:
> This, in my opinion, is very similar to what we would like to achieve with the URI syntax, so the above could also be specified using a URI parameter like this:
>
> psql -d postgresql://example.net:5433/mydb
How would you specifiy a local port/UNIX domain socket?
Would it be possible to add something like
psql -d postgresql+ssh://fweimer(at)db5/var/run/postgresql/.s.PGSQL.5432
similar to what Subversion supports? (This might have security
implications when used from untrusted PHP scripts.)
--
Florian Weimer <fweimer(at)bfk(dot)de>
BFK edv-consulting GmbH http://www.bfk.de/
Kriegsstraße 100 tel: +49-721-96201-1
D-76133 Karlsruhe fax: +49-721-96201-99
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2011-11-23 14:00:12 | Re: Not HOT enough |
| Previous Message | Michael Meskes | 2011-11-23 08:37:30 | Re: Notes on implementing URI syntax for libpq |