[HACKERS] psql service parameter

2006-09-27 Thread Andrew Dunstan
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? cheers andrew

Re: [HACKERS] psql service parameter

2006-09-27 Thread Tom Lane
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

Re: [HACKERS] psql service parameter

2006-09-27 Thread Albe Laurenz
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

Re: [HACKERS] psql service parameter

2006-09-27 Thread Martijn van Oosterhout
On Wed, Sep 27, 2006 at 04:54:35PM +0200, Albe Laurenz wrote: I think that both would be nice. Indeed, I wanted to suggest a switch for PGSERVICE myself. It some point I was wondering about using the @ symbol. If you have a service entry called testserver, you could do: psql @testserver But

Re: [HACKERS] psql service parameter

2006-09-27 Thread David Fetter
On Wed, Sep 27, 2006 at 10:23:13AM -0400, Andrew Dunstan wrote: 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