This error happened when I was running the latest Postgres Docker image 13.1 and trying to run a migration script that used pg_dump
version 9.6.
UPDATE well, maybe the verion mismatch was the issue. the script had pg_dump
wrapped in { pg_dump ...} >> dev/null
. The shell (sh
) the script ran in exited early and the migration "terminated".
terminating connection due to administrator command