psql variables

From: Paul Cunningham <paul(at)blueseacommunications(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: psql variables
Date: 2005-03-14 16:06:32
Message-ID: 4235B688.8000407@blueseacommunications.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I use a bash script (similar to following example) to update tables.

psql -v passed_in_var=\'some_value\' -f script_name ....

Is it possible to pass a value back from psql to the bash script?

Thanks,
Paul Cunningham

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas F.O'Connell 2005-03-14 16:08:41 Re: Peculiar performance observation....
Previous Message Richard Huxton 2005-03-14 15:59:53 Re: prelimiary performance comparison pgsql vs mysql