I want to run bunch of postgreSQL SQL's through a file using psql command.
To check whether psql works in SQLExecutor, I tried putting below statement SQL executor.
psql -c 'SELECT * FROM testdb.test';
However, I got below error.
psql -c 'SELECT * FROM testdb.test';'): 'ERROR: syntax error at or near "psql"
LINE 3: psql -c 'SELECT * FROM testdb.test;
^
'
A fatal error has occurred. Check the logfile above for details
Can you please help.