On Mon, 14 Mar 2005 11:06:32 -0500, Paul Cunningham
<[EMAIL PROTECTED]> wrote:
> 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?

You can use  '\! [ command ]' to execute shell commands within psql. 
This may not be what you want though.

George Essig

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to