summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/pgsql_driver.c
Commit message (Collapse)AuthorAgeFilesLines
* year++Xinchen Hui2018-01-021-1/+1
|
* Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-01-201-1/+0
|\ | | | | | | | | * PHP-7.0: Fixed #73959 - lastInsertId fails to throw an exception in pdsql
| * Fixed #73959 - lastInsertId fails to throw an exception in pdsqlandrewnester2017-01-201-1/+0
| |
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
| * Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-08-141-0/+2
| |\ | | | | | | | | | | | | * PHP-5.6: put missing prototype and fix ts build
| | * put missing prototype and fix ts buildAnatol Belski2016-08-141-1/+3
| | |
| * | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-08-141-0/+14
| |\ \ | | |/ | | | | | | | | | * PHP-5.6: Fixed bug #72759 Regression in pgo_pgsql
| | * Fixed bug #72759 Regression in pgo_pgsqlAnatol Belski2016-08-141-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is caused by the fix for #72633. Namely, lastval() throws an error, if no nextval() was called earlier in the same session. This is by all means correct so far, however inside a transaction it leads to an abort. This is the opposite to MySQL's last_insert_id() which doesn't produce any error no matter something were autoincremented or not. To avoid existing scripts breakage in the stable branches, the previous patch is extended to revert the transaction to the state before the lastval() call in case of error. It is done only for 5.6 and 7.0 to retain BC. For 7.1+, the clean behavior should persist. This is already the current behavior, when the sequence name is explicitly passed. So there's no reason to obfuscate the errors where this breakage is valid.
* | | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
* | | Merge branch 'PHP-7.0' into PHP-7.1Matteo Beccati2016-08-041-3/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Clean up FR #72633 Fixed invalid handle error with Implicit Result Sets and bump OCI8 version. Conflicts: ext/oci8/package.xml
| * | Merge branch 'PHP-5.6' into PHP-7.0Matteo Beccati2016-08-041-3/+4
| |\ \ | | |/ | | | | | | | | | * PHP-5.6: Clean up FR #72633
| | * Clean up FR #72633Matteo Beccati2016-08-041-3/+4
| | |
| | * - lastInsertId using Postgres Lastval() functionPablo Santiago Sánchez2016-08-021-19/+18
| | |
* | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-07-271-19/+18
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: Implemented FR #72633 Postgres PDO lastInsertId() should work without specifying a sequence
| * | Implemented FR #72633 Postgres PDO lastInsertId() should work without ↵root2016-07-271-19/+18
| | | | | | | | | | | | specifying a sequence
* | | Fixed compilation warningsDmitry Stogov2016-06-221-1/+1
| | |
* | | Added ZEND_ATTRIBUTE_FORMAT to some middind functions.Dmitry Stogov2016-06-211-4/+4
|/ / | | | | | | | | "%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
* | Do not edit the value in place (might be relates to #71261)Xinchen Hui2016-01-041-4/+3
| |
* | 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
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-3/+3
| | | | | | | | semantick changes).
* | Fix more proto commentsRasmus Lerdorf2015-06-231-1/+1
| |
* | Merge branch 'PHP-5.6'Matteo Beccati2015-06-121-31/+28
|\ \ | |/ | | | | | | | | | | | | | | | | * PHP-5.6: 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 win32/install.txt
| * Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading ↵Matteo Beccati2015-06-121-30/+27
| | | | | | | | single quote)
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | Remove PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENTNikita Popov2015-04-241-14/+0
| | | | | | | | Use the generic ATTR_EMULATE_PREPARES instead.
* | libpq versions older than 9.3 do not have lo_lseek64Rasmus Lerdorf2015-04-221-1/+1
| |
* | fix possible int overflowAnatol Belski2015-04-151-1/+6
| |
* | fix datatype mismatchesAnatol Belski2015-04-151-3/+3
| |
* | fix data type and 64-bit compatAnatol Belski2015-04-151-1/+5
| |
* | Another minor cleanup, drop ENFORCE_SAFE_MODE (all except pdo_pgsql have ↵Kalle Sommer Nielsen2015-03-291-2/+2
| | | | | | | | #if's for checking already)
* | ZTS cleanupReeze Xia2015-03-081-1/+1
| |
* | size_t cleanup for PDOStanislav Malyshev2015-01-261-10/+10
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
| |
* | Merge branch 'PHP-5.6'Matteo Beccati2015-01-051-0/+4
|\ \ | |/ | | | | | | | | * PHP-5.6: Updated NEWS for #68371 Ref #68371 - Added support for PDO::PGSQL_ATTR_DISABLE_PREPARES
| * Ref #68371 - Added support for PDO::PGSQL_ATTR_DISABLE_PREPARESMatteo Beccati2015-01-051-0/+4
| |
* | Merge branch 'PHP-5.6'Matteo Beccati2015-01-051-0/+9
|\ \ | |/ | | | | | | * PHP-5.6: Fixed bug #68371 PDO#getAttribute() cannot be called with platform-specific attribute names
| * Merge branch 'PHP-5.5' into PHP-5.6Matteo Beccati2015-01-051-0/+9
| |\ | | | | | | | | | | | | * PHP-5.5: Fixed bug #68371 PDO#getAttribute() cannot be called with platform-specific attribute names
| | * Fixed bug #68371 PDO#getAttribute() cannot be called with platform-specific ↵Matteo Beccati2014-11-101-0/+8
| | | | | | | | | | | | attribute names
* | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-48/+48
| | |
* | | Merge branch 'PHP-5.6'Anatol Belski2014-10-311-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: fix ZTS build
| * | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-10-311-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: fix ZTS build
| | * fix ZTS buildAnatol Belski2014-10-311-1/+1
| | |
* | | Merge branch 'PHP-5.6'Matteo Beccati2014-10-311-10/+18
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-5.6: Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
| * | Merge branch 'PHP-5.5' into PHP-5.6Matteo Beccati2014-10-311-10/+18
| |\ \ | | |/ | | | | | | | | | | | | * PHP-5.5: Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
| | * Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when ↵Matteo Beccati2014-10-311-10/+18
| | | | | | | | | | | | not in transaction
* | | Fixed compilationDmitry Stogov2014-10-171-2/+2
| | |
* | | Merge branch 'PHP-5.6'Matteo Beccati2014-10-171-0/+6
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-5.6: Fixed bug #68199 (PDO::pgsqlGetNotify doesn't support NOTIFY payloads) News entry for new curl constants
| * | Fixed bug #68199 (PDO::pgsqlGetNotify doesn't support NOTIFY payloads)Matteo Beccati2014-10-171-0/+6
| | |