Re: psql commandline conninfo

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql commandline conninfo
Date: 2006-12-12 23:02:12
Message-ID: 27211.1165964532@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> Does that mean that:
> psql -d "service=myservice"
> should Just Work(tm)? That would be nice.

Even more to the point,

psql "service=myservice"

which is why we want to overload dbname rather than any of the other
PQsetdbLogin parameters for this --- dbname has pride of place in the
command line syntax for several of the client programs.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2006-12-12 23:09:07 Re: [HACKERS] psql commandline conninfo
Previous Message Tom Lane 2006-12-12 22:56:36 Better management of mergejoinable operators

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2006-12-12 23:09:07 Re: [HACKERS] psql commandline conninfo
Previous Message Martijn van Oosterhout 2006-12-12 22:52:29 Re: psql commandline conninfo