Low: pgsql: eliminate bashism

This pull request aim to eliminate bashism in the pgsql RA
that reported following issue.

https://github.com/ClusterLabs/resource-agents/issues/403