diff options
-rw-r--r-- | ext/pdo_pgsql/pgsql_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c index c1e4f5f7af..70eae1ca65 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -338,6 +338,7 @@ static int pdo_pgsql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_ ret = 1; cleanup: + dbh->methods = &pgsql_methods; if (!ret) { pgsql_handle_closer(dbh TSRMLS_CC); } |