We are getting a connection error when we connect to a PostgreSQL database with a password that contains a ’ character.
With no escaping:
missing "=" after "'" in connection info string
If we escape the ’ into ‘’, like we do for other normal strings in the database, we get
missing "=" after "''" in connection info string
Escaping ' with \'
gives
FATAL: password authentication failed for user “passwordtest”
We’re using the built in PostgreSQL class. Xojo 2024r2.1
Is there a way around this?
Regards,
Lee
3 posts - 2 participants