Re: psql & unix env variables

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Achilleas Mantzios <achill(at)smadev(dot)internal(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: psql & unix env variables
Date: 2012-08-31 01:37:05
Message-ID: 50401541.4090309@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavan Deolasee 2012-08-31 05:39:42 Re: [GENERAL] UPDATE RULE to be invoked when UPDATE .. WHERE fails the WHERE predicate ?‏
Previous Message Adrian Klaver 2012-08-30 23:27:01 Re: psql & unix env variables