psql variables - Mailing list pgsql-general

From Paul Cunningham
Subject psql variables
Date
Msg-id 4235B688.8000407@blueseacommunications.com
Whole thread Raw
Responses Re: psql variables
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: Janning Vygen
Date:
Subject: pg_restore: [custom archiver] could not uncompress data: incorrect data check
Next
From: Bruce Momjian
Date:
Subject: Re: Copression