Quote:
"sh -c `psql <psql parameters>`"
|
Are you running this from a shell script already?
Why do you need the sh -c at all? If psql is a command, just
run
psql <psql parameters>
If you really need the sh -c, take away the ticks, they are another
child process, use single or double quotes, add a \ in front of quotes
inside the psql parameters string if necessary;