]> granicus.if.org Git - php/commitdiff
- Fixed bug #36382 (PDO/PgSQL's getColumnMeta() crashes).
authorDerick Rethans <derick@php.net>
Mon, 13 Feb 2006 15:53:36 +0000 (15:53 +0000)
committerDerick Rethans <derick@php.net>
Mon, 13 Feb 2006 15:53:36 +0000 (15:53 +0000)
NEWS
ext/pdo_pgsql/pgsql_driver.c

diff --git a/NEWS b/NEWS
index 636bce0ab190c1bfa7eaaa5ce2facc7af96aa9f5..ba7b29cca3aafa4145eeaf75097d39c0c3f54224 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -20,7 +20,9 @@ PHP                                                                        NEWS
 - Added new mysqli constants for BIT and NEW_DECIMAL field types:
   MYSQLI_TYPE_NEWDECIMAL and MYSQLI_TYPE_BIT. FR #36007. (Georg)
 - Added ReflectionClass::newInstanceArgs($args). (Marcus)
-- Added imap_savebody() that allows message body to be written to a file. (Mike)
+- Added imap_savebody() that allows message body to be written to a file.
+  (Mike)
+- Fixed bug #36382 (PDO/PgSQL's getColumnMeta() crashes). (Derick)
 - Fixed bug #36359 (splFileObject::fwrite() doesn't write when no data length 
   specified). (Tony)
 - Fixed bug #36351 (parse_url() does not parse numeric paths properly). (Ilia)
index c9fe4b174ef09dbd6292e2f214798b865ae5a539..3eac6ede847dab711463d5ca927320ae4b69a71f 100644 (file)
@@ -670,7 +670,7 @@ static int pdo_pgsql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_
        H->pgoid = -1;
 
        dbh->methods = &pgsql_methods;
-       dbh->alloc_own_columns = 0;
+       dbh->alloc_own_columns = 1;
        dbh->max_escaped_char_length = 2;
 
        ret = 1;