I\'m trying to execute SQK through psql under postgres account. I\'m able run SQL that doesn\'t contain quotes
root@server:/home/rosta/SCRIPTS# su postgres -c &qu
Simplest way is to use a 'here document' , which ignores all quoting:
#!/bin/sh DB_NAME=my_data_base psql -U postgres postgres <