Re: psql service parameter - Mailing list pgsql-hackers

From Albe Laurenz
Subject Re: psql service parameter
Date
Msg-id 52EF20B2E3209443BC37736D00C3C1380A94BD9C@EXADV1.host.magwien.gv.at
Whole thread Raw
In response to psql service parameter  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: psql service parameter  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> 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
string,
> instead of having to invent a new psql switch for every keyword we
allow
> in those strings.

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

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

So, +1 on the original suggestion!

Yours,
Laurenz Albe


pgsql-hackers by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: Block B-Tree concept
Next
From: Martijn van Oosterhout
Date:
Subject: Re: psql service parameter