https://stackoverflow.com/questions/18223665/postgresql-query-from-bash-script-as-database-user-postgres
Anonymous
Fold knowledge into data so program logic can be stupid and robust.