pg_change_password

(PHP 8 >= 8.4.0)

pg_change_passwordChange a PostgreSQL user's password

Açıklama

function pg_change_password(PgSql\Connection $connection, string $user, string $password): bool

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.

Bağımsız Değişkenler

connection

PostgreSQL veritabanı bağlantısı özkaynağı.

user
The name of the PostgreSQL user whose password to change.
password
The new password.

Dönen Değerler

Başarı durumunda true, başarısızlık durumunda false döner.

Ayrıca Bakınız

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top