Commit 38929f5ba2c for php

commit 38929f5ba2c9dfef6efd2d91931e5d2ca4b0058c
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date:   Fri Oct 30 12:28:07 2026 -0700

    [`%pS` migration] Use `%pS` in ext/pdo_pgsql (#23163)

diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c
index 548a47c3ee8..bdb8a067e61 100644
--- a/ext/pdo_pgsql/pgsql_driver.c
+++ b/ext/pdo_pgsql/pgsql_driver.c
@@ -1534,11 +1534,11 @@ static int pdo_pgsql_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /* {{{

 	/* support both full connection string & connection string + login and/or password */
 	if (tmp_user) {
-		smart_str_append_printf(&conn_str, " user='%s'", ZSTR_VAL(tmp_user));
+		smart_str_append_printf(&conn_str, " user='%pS'", tmp_user);
 	}

 	if (tmp_pass) {
-		smart_str_append_printf(&conn_str, " password='%s'", ZSTR_VAL(tmp_pass));
+		smart_str_append_printf(&conn_str, " password='%pS'", tmp_pass);
 	}
 	smart_str_0(&conn_str);