(PHP 8 >= 8.4.0)
pg_change_password — Change a PostgreSQL user's password
pg_change_password() changes the password of a
PostgreSQL user. This function uses the
PQchangePassword libpq function which handles
password encryption automatically based on the server's settings.
connectionuserpassword