Re: psql & unix env variables - Mailing list pgsql-general

From Craig Ringer
Subject Re: psql & unix env variables
Date
Msg-id 50401541.4090309@ringerc.id.au
Whole thread Raw
In response to Re: psql & unix env variables  (Achilleas Mantzios <achill@smadev.internal.net>)
Responses Re: psql & unix env variables  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Re: psql & unix env variables  (Achilleas Mantzios <achill@smadev.internal.net>)
List pgsql-general
On 08/30/2012 02:42 PM, Achilleas Mantzios wrote:
> I have found useful the use of variable assignment in psql, e.g.

If you're going to to that, why not drive psql as a coprocess:

    http://stackoverflow.com/a/8305578/398670

or if at all possible, use a language with sane PostgreSQL bindings.

--
Craig Ringer


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: psql & unix env variables
Next
From: Pavan Deolasee
Date:
Subject: Re: [GENERAL] UPDATE RULE to be invoked when UPDATE .. WHERE fails the WHERE predicate ?‏