psql -c confirmed to be the culprit