Use the postgres user to terminate connections. #!/bin/sh su postgres -l -c "psql -c 'select pg_terminate_backend(procpid) \ from ...
確定! 回上一頁