postgres-ai/postgres-checkup

Remote psql command support

ane4ka opened this issue · 1 comments

Remote psql command support

@NikolayS 's example:

_PSQL="psql -X -At -q -v ON_ERROR_STOP=1 -P pager=off \"$@\""
ssh "${HOST}" "${_PSQL} -c \"select current_setting('server_version_num')\""