* [2024-06-07 00:58] Andrea:
org-babel-execute:sql. This function extracts the password to connect to your database of choice as dbpassword. It then uses it like this:
(format "PGPASSWORD=%s " dbpassword)
If the password contains an & character, the execution of a block fails. I solved like this: (format "PGPASSWORD='%s' " dbpassword)
shell-quote-argument is designed for this case. Phil