Tom Lane wrote:
> Andrew Dunstan <[EMAIL PROTECTED]> writes:
>> I have just noticed that there does not seem to be a psql 
>> command line switch to specify a pg_service.conf name
>> to connect to. I know we can use a PGSERVICE environment
>> setting instead, but I think we should have 
>> a command line switch too. Small 8.3 TODO item?
> More generally, it'd be nice to be able to specify a PQconnectdb
> instead of having to invent a new psql switch for every keyword we
> in those strings.

I think that both would be nice. Indeed, I wanted to suggest
a switch for PGSERVICE myself.

-n or --name for the service name
-C or --connect for the connect string

So, +1 on the original suggestion!

Laurenz Albe

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not

Reply via email to