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 one. ? thnks