When doing SQHExecute or SQHExecuteFile with multiple select statements, psql only returns results for the first query. This is a limitation in how psql itself handles the "-c" argument on the command line and the solution is to pass in commands with an echo and a pipe, a la echo "select * from user; select * from person;" | psql ... . I am currently working on a solution and should have this fixed shortly
When doing SQHExecute or SQHExecuteFile with multiple select statements, psql only returns results for the first query. This is a limitation in how psql itself handles the "-c" argument on the command line and the solution is to pass in commands with an echo and a pipe, a la
echo "select * from user; select * from person;" | psql ...
. I am currently working on a solution and should have this fixed shortly