Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | put missing prototype and fix ts build | Anatol Belski | 2016-08-14 | 1 | -1/+3 |
| | |||||
* | Fixed bug #72759 Regression in pgo_pgsql | Anatol Belski | 2016-08-14 | 1 | -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. | ||||
* | Clean up FR #72633 | Matteo Beccati | 2016-08-04 | 3 | -6/+5 |
| | |||||
* | cleanup table after test | Anatol Belski | 2016-08-02 | 1 | -2/+5 |
| | |||||
* | - lastInsertId using Postgres Lastval() function | Pablo Santiago Sánchez | 2016-08-02 | 3 | -19/+56 |
| | |||||
* | Fixed bug #70313 PDO statement fails to throw exception | Matteo Beccati | 2016-07-10 | 2 | -1/+38 |
| | |||||
* | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 5 | -5/+5 |
| | |||||
* | fix test | Anatol Belski | 2015-08-23 | 1 | -2/+4 |
| | | | | backport from master | ||||
* | Merge branch 'PHP-5.5' into PHP-5.6 | Matteo Beccati | 2015-06-13 | 1 | -1/+1 |
|\ | | | | | | | | | * PHP-5.5: Fix copy/paste error in test | ||||
| * | Fix copy/paste error in test | Matteo Beccati | 2015-06-13 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Matteo Beccati | 2015-06-12 | 2 | -2/+46 |
|\ \ | |/ | | | | | | | | | | | | | | | | | * 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 Beccati | 2015-06-12 | 2 | -2/+46 |
| | | |||||
| * | Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading ↵ | Matteo Beccati | 2015-06-12 | 2 | -31/+91 |
| | | | | | | | | single quote) | ||||
* | | Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading ↵ | Matteo Beccati | 2015-06-12 | 2 | -30/+90 |
| | | | | | | | | single quote) | ||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Anatol Belski | 2015-06-11 | 1 | -1/+2 |
|\ \ | |/ | | | | | | | * PHP-5.5: rework that test to allow delta for rounding errors | ||||
| * | rework that test to allow delta for rounding errors | Anatol Belski | 2015-06-11 | 1 | -1/+2 |
| | | | | | | | | | | If this workout doesn't make travis happy, the patch needs to be reviewed as the leak might still persist. | ||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Anatol Belski | 2015-06-11 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | * PHP-5.5: improve test | ||||
| * | improve test | Anatol Belski | 2015-06-11 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Anatol Belski | 2015-06-10 | 2 | -1/+61 |
|\ \ | |/ | | | | | | | | | * PHP-5.5: updated NEWS fix memory leak in pdo_pgsql closeCursor (bug 69752) | ||||
| * | fix memory leak in pdo_pgsql closeCursor (bug 69752) | Philip Hofstetter | 2015-06-10 | 2 | -1/+61 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Anatol Belski | 2015-03-14 | 1 | -0/+1 |
|\ \ | |/ | | | | | | | * PHP-5.5: fix test | ||||
| * | fix test | Anatol Belski | 2015-03-14 | 1 | -0/+1 |
| | | |||||
| * | Bump year | Xinchen Hui | 2015-01-15 | 5 | -5/+5 |
| | | |||||
* | | bump year | Xinchen Hui | 2015-01-15 | 5 | -5/+5 |
| | | |||||
* | | Ref #68371 - Added support for PDO::PGSQL_ATTR_DISABLE_PREPARES | Matteo Beccati | 2015-01-05 | 2 | -1/+9 |
| | | |||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Matteo Beccati | 2015-01-05 | 2 | -0/+117 |
|\ \ | |/ | | | | | | | * 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 Beccati | 2014-11-10 | 2 | -0/+107 |
| | | | | | | | | attribute names | ||||
| * | Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving) | Matteo Beccati | 2014-11-06 | 2 | -0/+16 |
| | | |||||
* | | Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving) | Matteo Beccati | 2014-11-06 | 2 | -0/+16 |
| | | |||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Matteo Beccati | 2014-11-01 | 2 | -1/+67 |
|\ \ | |/ | | | | | | | * PHP-5.5: Fixed bug #66584 Segmentation fault on statement deallocation | ||||
| * | Fixed bug #66584 Segmentation fault on statement deallocation | Matteo Beccati | 2014-11-01 | 2 | -1/+67 |
| | | |||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Anatol Belski | 2014-10-31 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | * PHP-5.5: fix ZTS build | ||||
| * | fix ZTS build | Anatol Belski | 2014-10-31 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Matteo Beccati | 2014-10-31 | 2 | -10/+52 |
|\ \ | |/ | | | | | | | | | * 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 Beccati | 2014-10-31 | 2 | -10/+52 |
| | | | | | | | | not in transaction | ||||
* | | Fixed bug #68199 (PDO::pgsqlGetNotify doesn't support NOTIFY payloads) | Matteo Beccati | 2014-10-17 | 2 | -0/+115 |
| | | |||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Matteo Beccati | 2014-05-21 | 1 | -8/+27 |
|\ \ | |/ | | | | | | | * PHP-5.5: Improved test for bug #62479 | ||||
| * | Merge branch 'PHP-5.4' into PHP-5.5 | Matteo Beccati | 2014-05-21 | 1 | -8/+27 |
| |\ | | | | | | | | | | | | | * PHP-5.4: Improved test for bug #62479 | ||||
| | * | Improved test for bug #62479 | Matteo Beccati | 2014-05-21 | 1 | -8/+27 |
| | | | |||||
* | | | Added new PDO::PGSQL_ATTR_DISABLE_PREPARES that uses PQexecParams | Matteo Beccati | 2014-03-11 | 5 | -3/+81 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Deprecated PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT | Matteo Beccati | 2014-03-11 | 4 | -7/+30 |
| | | | |||||
* | | | Drop PDO support for extremely old libpq versions | Matteo Beccati | 2014-03-11 | 5 | -97/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | configure will now fail if any of the following function is missing: * PQprepare * PQexecParams * PQescapeStringConn * PQescapeByteaConn | ||||
* | | | Merge branch 'PHP-5.5' into PHP-5.6 | Stanislav Malyshev | 2014-01-25 | 1 | -2/+2 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-5.5: fix test bug62479.phpt | ||||
| * | | Merge branch 'PHP-5.4' into PHP-5.5 | Stanislav Malyshev | 2014-01-25 | 1 | -2/+2 |
| |\ \ | | |/ | | | | | | | | | | * PHP-5.4: fix test bug62479.phpt | ||||
| | * | fix test bug62479.phpt | Stanislav Malyshev | 2014-01-25 | 1 | -2/+2 |
| | | | |||||
* | | | Merge branch 'PHP-5.5' into PHP-5.6 | Will Fitch | 2014-01-18 | 2 | -2/+85 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-5.5: Fix #62479: Some chars not parsed in passwords | ||||
| * | | Merge branch 'PHP-5.4' into PHP-5.5 | Will Fitch | 2014-01-18 | 2 | -2/+85 |
| |\ \ | | |/ | | | | | | | | | | * PHP-5.4: Fix #62479: Some chars not parsed in passwords | ||||
| | * | Fix #62479: Some chars not parsed in passwords | Will Fitch | 2014-01-18 | 2 | -2/+85 |
| | | | | | | | | | | | | | | | This fixes an issue where backslashes and spaces aren't correctly parsed for passwords. | ||||
| | * | Bump year | Xinchen Hui | 2014-01-03 | 5 | -5/+5 |
| | | | |||||
| * | | Bump year | Xinchen Hui | 2014-01-03 | 5 | -5/+5 |
| | | |