Re: [HACKERS] request for feature: psql 'DSN' option

2006-07-08 Thread Andrew Dunstan
hubert depesz lubaczewski wrote: On 7/7/06, *Andrew Dunstan* <[EMAIL PROTECTED] > wrote: Why is this better than using the service file? service file is not well described in manual. quick grep showed that we have PGSERVICE variable, and pg_service.conf.sample,

Re: [HACKERS] request for feature: psql 'DSN' option

2006-07-08 Thread hubert depesz lubaczewski
On 7/7/06, Andrew Dunstan <[EMAIL PROTECTED]> wrote: Why is this better than using the service file?service file is not well described in manual. quick grep showed that we have PGSERVICE variable, and pg_service.conf.sample, which doesn't even include all possible parameter names. and - comments in

Re: [HACKERS] request for feature: psql 'DSN' option

2006-07-07 Thread Chris Browne
[EMAIL PROTECTED] (David Fetter) writes: > On Fri, Jul 07, 2006 at 05:33:14AM -0500, Andrew Dunstan wrote: >> Christopher Browne said: >> > >> > The notion: Plenty of libraries out there like Pg, DBI::Pg, and such >> > make you specify connections in the form: >> > "host=my.db.host.example.org p

Re: [HACKERS] request for feature: psql 'DSN' option

2006-07-07 Thread David Fetter
On Fri, Jul 07, 2006 at 05:33:14AM -0500, Andrew Dunstan wrote: > Christopher Browne said: > > > > The notion: Plenty of libraries out there like Pg, DBI::Pg, and such > > make you specify connections in the form: > > "host=my.db.host.example.org port=5678 dbname=dumb_db user=chewie" > > Why is

Re: [HACKERS] request for feature: psql 'DSN' option

2006-07-07 Thread Andrew Dunstan
Christopher Browne said: > Per tonight's dinner discussion, it Sure Would Be Nice if psql had an > additional option that allowed passing in a conninfo string. > > The notion: Plenty of libraries out there like Pg, DBI::Pg, and such > make you specify connections in the form: > "host=my.db.host.

[HACKERS] request for feature: psql "DSN" option

2006-07-06 Thread Christopher Browne
Per tonight's dinner discussion, it Sure Would Be Nice if psql had an additional option that allowed passing in a conninfo string. The notion: Plenty of libraries out there like Pg, DBI::Pg, and such make you specify connections in the form: "host=my.db.host.example.org port=5678 dbname=dumb_d