fix postgresql.sh content