I'm using a library that only supports password authenticated login to psql. So solve this I've edited the
pg_hba.conf file as per the doc.
I have a scripted install of my app and psql, and would like to enable local password login problematically from this bash script. Is there a more clever way than using
sed or something similar? It sounds a bit "hackish" to alter the config and restarting the service.