summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/pgsql_statement.c
Commit message (Collapse)AuthorAgeFilesLines
...
| | * 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
| | |
* | | add support for pdo-pgsql in phpng refactoringnikita22062014-05-151-25/+22
| | |
* | | Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-261-44/+42
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During merge I had to revert: Nikita's patch for php_splice() (it probably needs to be applyed again) Bob Weinand's patches related to constant expression handling (we need to review them carefully) I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway) Conflicts: Zend/zend.h Zend/zend_API.c Zend/zend_ast.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_constants.c Zend/zend_exceptions.c Zend/zend_execute.c Zend/zend_execute.h Zend/zend_execute_API.c Zend/zend_hash.c Zend/zend_highlight.c Zend/zend_language_parser.y Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/date/php_date.c ext/dom/documenttype.c ext/hash/hash.c ext/iconv/iconv.c ext/mbstring/tests/zend_multibyte-10.phpt ext/mbstring/tests/zend_multibyte-11.phpt ext/mbstring/tests/zend_multibyte-12.phpt ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqlnd/mysqlnd_reverse_api.c ext/mysqlnd/php_mysqlnd.c ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_util_funcs.c ext/opcache/zend_persist.c ext/opcache/zend_persist_calc.c ext/pcre/php_pcre.c ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_array.c ext/spl/spl_observer.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/html.c ext/standard/mail.c ext/standard/php_array.h ext/standard/proc_open.c ext/standard/streamsfuncs.c ext/standard/user_filters.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re main/php_variables.c sapi/phpdbg/phpdbg.c sapi/phpdbg/phpdbg_bp.c sapi/phpdbg/phpdbg_frame.c sapi/phpdbg/phpdbg_help.c sapi/phpdbg/phpdbg_list.c sapi/phpdbg/phpdbg_print.c sapi/phpdbg/phpdbg_prompt.c
| * | Added new PDO::PGSQL_ATTR_DISABLE_PREPARES that uses PQexecParamsMatteo Beccati2014-03-111-1/+11
| | | | | | | | | | | | | | | | | | Faster than prepared statements when queries are run once. Slightly slower than PDO::ATTR_EMULATE_PREPARES but without the potential security implications of embedding parameters in the query itself.
| * | Drop PDO support for extremely old libpq versionsMatteo Beccati2014-03-111-43/+31
| | | | | | | | | | | | | | | | | | | | | | | | configure will now fail if any of the following function is missing: * PQprepare * PQexecParams * PQescapeStringConn * PQescapeByteaConn
* | | Cleanup (1-st round)Dmitry Stogov2014-04-151-1/+1
|/ /
* | Bump yearXinchen Hui2014-01-031-1/+1
|/
* Fixed other compiler warnings in PDO_PGSQLMatteo Beccati2013-08-211-1/+1
|
* Fixed meta data retrieve when OID is larger than 2^31Yasuo Ohgaki2013-07-131-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Bug #62593 Updated to account for INOUT parametersWill Fitch2012-10-301-1/+2
|
* Bug #62593 Updated to always treat zval by valueWill Fitch2012-10-301-1/+1
|
* Bug #62593 Updated pdo_pgsql driver to convert boolean values to pg native ↵Will Fitch2012-10-301-1/+12
| | | | format in emulation mode
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* - Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down)Felipe Pena2010-12-101-1/+1
| | | | | patch by: gyp at balabit dot hu
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* - Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted ↵Matteo Beccati2009-11-041-1/+1
| | | | | | | | transaction). # Removed usage of the memory address when generating prepared statemend names # as uniqueness can't be enforced. Used a statment counter instead.
* - Reverting previous fix for bug #49985 Matteo Beccati2009-11-041-17/+3
| | | | | # Unmerged changes from revision 289924
* - Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).Ilia Alshanetsky2009-10-261-3/+17
|
* MFH: TypoKalle Sommer Nielsen2009-05-251-1/+1
|
* MFHMatteo Beccati2009-05-121-0/+10
| | | | | - Fixed bug #48188
* MFH:Matteo Beccati2009-04-301-106/+10
| | | | | | | | | | | | - Changed PDO_PGSQL configure script to require libpq 7.4 - Cleaned up usage of HAVE_PQ* defines - Fixed compiler warnings - Removed custom implementation of PQunescapeByte # Rationale: # - PDO_PGSQL couldn't even compile when using libpq 7.3 # - PostgreSQL 7.3 is unsupported since a long time # - Got consensus from pgsql devs on freenode
* MFH:Matteo Beccati2009-04-231-2/+8
| | | | | | | | - Reverted previous fix for bug #46274 and properly fixed it - Fixed bug #48060 # Also added tests for pdo_oci as it's the only other driver currently # using streams: no regression found
* - Fixed bug #44861 (scrollable cursor don't work with pgsql)Matteo Beccati2009-03-281-14/+34
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - Fixed compiler warningsFelipe Pena2008-10-121-0/+5
|