summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/pgsql_statement.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #75402 Possible Memory Leak using PDO::CURSOR_SCROLL optionAnatol Belski2018-07-301-0/+6
|
* Fix heap use after freeAnatol Belski2018-03-121-1/+4
| | | | | The value may only be used until PGresult was destroyed, thus it needs to be copied.
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
|
* Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2016-08-091-1/+2
|\ | | | | | | | | | | | | * PHP-7.0: Fixed bug #72788 (Invalid memory access when using persistent PDO connection) Remove typo'd commit Fix bug 72788: Invalid memory access when database_object_handle is undefined. Also fix memory leak in dbh_free when using persistent PDO connections.
| * Fix bug 72788: Invalid memory access when database_object_handleKeyur2016-08-091-1/+2
| | | | | | | | | | is undefined. Also fix memory leak in dbh_free when using persistent PDO connections.
* | Merge branch 'PHP-7.0'Matteo Beccati2016-07-101-1/+4
|\ \ | |/ | | | | | | | | * PHP-7.0: Fixed bug #72570 Segmentation fault when binding parameters on a query without placeholders Fixed bug #70313 PDO statement fails to throw exception
| * Fixed bug #72570 Segmentation fault when binding parameters on a query ↵Matteo Beccati2016-07-101-0/+3
| | | | | | | | without placeholders
| * Merge branch 'PHP-5.6' into PHP-7.0Matteo Beccati2016-07-101-1/+1
| |\ | | | | | | | | | | | | * PHP-5.6: Fixed bug #70313 PDO statement fails to throw exception
| | * Fixed bug #70313 PDO statement fails to throw exceptionMatteo Beccati2016-07-101-1/+1
| | |
* | | Added ZEND_ATTRIBUTE_FORMAT to some middind functions.Dmitry Stogov2016-06-211-2/+2
|/ / | | | | | | | | "%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
* | Fixed bug #72294 Segmentation fault/invalid pointer in connection with ↵Anatol Belski2016-06-011-11/+15
| | | | | | | | pgsql_stmt_dtor
* | Fixed bug #71573 (Segfault (core dumped) if paramno beyond bound)Xinchen Hui2016-05-111-0/+6
| |
* | fix merge mistakeAnatol Belski2016-04-061-1/+1
| |
* | PostgreSQL's PDOStatement::getColumnMeta() fills in table's name.Petr Sýkora2016-04-061-0/+35
| |
* | fix indentAnatol Belski2016-04-061-40/+40
| |
* | Don't roundtrip to the database to get the column type if you already know itJoe Bylund2016-04-051-25/+56
| | | | | | | | | | | | | | | | add_assoc_string now takes just three args nikic's fix to move pqclear outside the if, would be a possible memory leak inside the if (joe) check behavior of getColumnMeta
* | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ \ | |/ | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
* | Removed or simplified incorrect SEPARATE_*() macros usage.Dmitry Stogov2015-09-291-3/+3
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-3/+3
| | | | | | | | semantick changes).
* | Merge branch 'PHP-5.6'Matteo Beccati2015-06-121-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | * PHP-5.6: Fix bug #69344 (PDO PgSQL Incorrect binding numeric array with gaps) Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading single quote) Fixed bug #61574 - No MSI Conflicts: ext/pdo_pgsql/pgsql_statement.c
| * Merge branch 'PHP-5.5' into PHP-5.6Matteo Beccati2015-06-121-2/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Fix bug #69344 (PDO PgSQL Incorrect binding numeric array with gaps) Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading single quote) Fixed bug #61574 - No MSI Conflicts: ext/pdo_pgsql/pgsql_driver.c
| | * Fix bug #69344 (PDO PgSQL Incorrect binding numeric array with gaps)Matteo Beccati2015-06-121-2/+2
| | |
* | | Merge branch 'PHP-5.6'Anatol Belski2015-06-101-1/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | * PHP-5.6: updated NEWS updated NEWS fix memory leak in pdo_pgsql closeCursor (bug 69752)
| * | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2015-06-101-1/+7
| |\ \ | | |/ | | | | | | | | | | | | * PHP-5.5: updated NEWS fix memory leak in pdo_pgsql closeCursor (bug 69752)
| | * fix memory leak in pdo_pgsql closeCursor (bug 69752)Philip Hofstetter2015-06-101-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the parent PDO closeCursor method resets the pdo_stmt_t's executed flag which is used by the postgres driver as a flag to check whether to allocate memory for the column data or not. This means that after the parent closeCursor() has been called, the pdo_pgsql driver will allocate a new buffer for the columns, so the existing buffer should be freed when the cursor is being closed.
| | * Bump yearXinchen Hui2015-01-151-1/+1
| | |
| | * Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)Matteo Beccati2014-11-061-0/+1
| | |
| * | bump yearXinchen Hui2015-01-151-1/+1
| | |
| * | Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)Matteo Beccati2014-11-061-0/+1
| | |
* | | Use zend_string to represent pdo_column_data.name and avoid duplication.Dmitry Stogov2015-05-051-3/+4
| | |
* | | bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
| | |
* | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-10/+10
| | |
* | | fixed compilation errorDmitry Stogov2014-11-071-1/+1
| | |
* | | Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)Matteo Beccati2014-11-061-7/+2
| | |
* | | Merge branch 'PHP-5.6'Matteo Beccati2014-11-011-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: Fixed bug #66584 Segmentation fault on statement deallocation
| * | Merge branch 'PHP-5.5' into PHP-5.6Matteo Beccati2014-11-011-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: Fixed bug #66584 Segmentation fault on statement deallocation
| | * Fixed bug #66584 Segmentation fault on statement deallocationMatteo Beccati2014-11-011-1/+1
| | |
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| | |
* | | master renames phase 3Anatol Belski2014-08-251-4/+4
| | |
* | | master renames phase 1Anatol Belski2014-08-251-8/+8
| | |
* | | ported from pdo - pgsql, odbc, mysql, firebirt, dblibAnatol Belski2014-08-191-12/+13
| | |
* | | basic macro replacements, all at onceAnatol Belski2014-08-191-2/+2
| | |
* | | Finish ext/pdo_pgsql (3 tests fail, 1 due to knew issue, 2 also fails in trunk)Xinchen Hui2014-05-161-4/+4
| | |
* | | Fixed several test failedXinchen Hui2014-05-161-17/+31
| | |
* | | fix void* ptr arithmeticPierre Joye2014-05-151-1/+1
| | |
* | | Made a little clean upXinchen Hui2014-05-151-9/+8
| | |