The use case is to run Zotonic on a less privileged user for safety purposes... but I still don't know if it's better to configure a second connection on the site config file or handle this credential in a different way. Any pointers on the best way to achieve this?
On a different note, would this also permit handling multiple Postgres server connections? Maybe create named connections with the current one as the default? Then manage_schema could use a different named connection if available. This would also add support for Postgres read replicas.
If you give me some pointers I can come up with the code for this change.
Álvaro Gianni Pagliari
alvaropag [at] gmail [dot] com