Re: [SQL] control function pgsql with script bash

2011-01-25 Thread Joshua Tolley
On Tue, Jan 25, 2011 at 10:46:58AM -0600, manuel antonio ochoa wrote: > Good morning > > I want to check if the function pgsql execute correctly into my bash > script . > I have something like this : > > /var/lib/pgsql/bin/./psql -U 'USER' -d DATABSE -p 5432 -h iphost -c > "select antro

[SQL] control function pgsql with script bash

2011-01-25 Thread manuel antonio ochoa
Good morning I want to check if the function pgsql execute correctly into my bash script . I have something like this : /var/lib/pgsql/bin/./psql -U 'USER' -d DATABSE -p 5432 -h iphost -c "select antros.changethenames( )" how can i get the error if the function changethenames() send me