It would be nice to support [this new libpq function in postgres 17](https://www.postgresql.org/about/news/postgresql-17-beta-1-released-2865/#:~:text=This%20release%20introduces%20event%20triggers%20that%20execute%20during%20authentication%2C%20and%20in%20libpq%20includes%20a%20new%20API%20called%20PQchangePassword%20that%20automatically%20hashes%20passwords%20on%20the%20client%2Dside%20to%20prevent%20accidental%20plaintext%20logging%20in%20the%20server.) to avoid sending plaintext passwords to the server.