Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: Explicit psqlrc - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Explicit psqlrc
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: Explicit psqlrc  (Magnus Hagander <[email protected]>)
Responses Re: Explicit psqlrc
List pgsql-hackers
Magnus Hagander <[email protected]> writes:
> 2010/3/5 David Christensen <[email protected]>:
>> My bikeshed has a --psqlrc path/to/file, but +1 on the idea.

> Do you have a use-case where --psqlrc would be more useful than an
> environment variable, or is it *only* bike-shedding? ;)

The env variable solution seems a bit surprising to me.  If we were
dealing with a libpq option it would make sense (to avoid having to pass
the info through other layers) but for a psql option it doesn't AFAICS.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: machine-readable pg_controldata?
Next
From: François Pérou
Date:
Subject: SQL compatibility reminder: MySQL vs PostgreSQL