script variables - Mailing list pgsql-general

From Paul Cunningham
Subject script variables
Date
Msg-id 4235C93B.1080309@sprintmail.com
Whole thread Raw
Responses Re: script variables  (Richard Huxton <dev@archonet.com>)
List 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


pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: plpython function problem workaround
Next
From: Bruce Momjian
Date:
Subject: Re: Temporary tables privileges