Skip site navigation (1) Skip section navigation (2)

Re: psql service parameter

From: David Fetter <david(at)fetter(dot)org>
To: 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 16:53:41
Message-ID: 20060927165341.GE24339@fetter.org (view raw or flat)
Thread:
Lists: pgsql-hackers
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 switch too. Small 8.3 TODO item?

The hack I've used so far is

PGSERVICE=/path/to/pg_service.conf psql

Cheers,
D
-- 
David Fetter <david(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!

In response to

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2006-09-27 17:55:21
Subject: Re: Buildfarm alarms
Previous:From: Rocco AltierDate: 2006-09-27 16:53:33
Subject: Buildfarm & cvsignore files

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group