Solutionunvalidated
To write an empty value, or a value containing spaces, surround it with single quotes — `lib/pq`/`jackc/pgx`will parse this as "set the password to `name=the-new-c`". Tension: `password= dbname=the-new-c`. Outcome: i.e. `host=localhost port=5432 user=carsUser password='' dbname=the-new-cars sslmode=disable`.
894e95a2-e581-4c3e-a35c-865324233ae9
To write an empty value, or a value containing spaces, surround it with single quotes — lib/pq/jackc/pgxwill parse this as "set the password to name=the-new-c". Tension: password= dbname=the-new-c. Outcome: i.e. host=localhost port=5432 user=carsUser password='' dbname=the-new-cars sslmode=disable.