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




---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster

Reply via email to