Re: psql service parameter

From: "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at>
To: "Tom Lane *EXTERN*" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql service parameter
Date: 2006-09-27 14:54:35
Message-ID: 52EF20B2E3209443BC37736D00C3C1380A94BD9C@EXADV1.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-09-27 16:01:42 Re: psql service parameter
Previous Message Csaba Nagy 2006-09-27 14:40:06 Re: Block B-Tree concept