Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving) | Matteo Beccati | 2014-11-06 | 1 | -0/+1 |
| | |||||
* | Merge branch 'PHP-5.5' into PHP-5.6 | Matteo Beccati | 2014-11-01 | 1 | -1/+1 |
|\ | | | | | | | | | * PHP-5.5: Fixed bug #66584 Segmentation fault on statement deallocation | ||||
| * | Fixed bug #66584 Segmentation fault on statement deallocation | Matteo Beccati | 2014-11-01 | 1 | -1/+1 |
| | | |||||
| * | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | | |||||
* | | Added new PDO::PGSQL_ATTR_DISABLE_PREPARES that uses PQexecParams | Matteo Beccati | 2014-03-11 | 1 | -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 versions | Matteo Beccati | 2014-03-11 | 1 | -43/+31 |
| | | | | | | | | | | | | | | | | configure will now fail if any of the following function is missing: * PQprepare * PQexecParams * PQescapeStringConn * PQescapeByteaConn | ||||
* | | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
|/ | |||||
* | Fixed other compiler warnings in PDO_PGSQL | Matteo Beccati | 2013-08-21 | 1 | -1/+1 |
| | |||||
* | Fixed meta data retrieve when OID is larger than 2^31 | Yasuo Ohgaki | 2013-07-13 | 1 | -1/+1 |
| | |||||
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | Bug #62593 Updated to account for INOUT parameters | Will Fitch | 2012-10-30 | 1 | -1/+2 |
| | |||||
* | Bug #62593 Updated to always treat zval by value | Will Fitch | 2012-10-30 | 1 | -1/+1 |
| | |||||
* | Bug #62593 Updated pdo_pgsql driver to convert boolean values to pg native ↵ | Will Fitch | 2012-10-30 | 1 | -1/+12 |
| | | | | format in emulation mode | ||||
* | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | |||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | - Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down) | Felipe Pena | 2010-12-10 | 1 | -1/+1 |
| | | | | | patch by: gyp at balabit dot hu | ||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | - Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted ↵ | Matteo Beccati | 2009-11-04 | 1 | -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 Beccati | 2009-11-04 | 1 | -17/+3 |
| | | | | | # Unmerged changes from revision 289924 | ||||
* | - Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction). | Ilia Alshanetsky | 2009-10-26 | 1 | -3/+17 |
| | |||||
* | MFH: Typo | Kalle Sommer Nielsen | 2009-05-25 | 1 | -1/+1 |
| | |||||
* | MFH | Matteo Beccati | 2009-05-12 | 1 | -0/+10 |
| | | | | | - Fixed bug #48188 | ||||
* | MFH: | Matteo Beccati | 2009-04-30 | 1 | -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 Beccati | 2009-04-23 | 1 | -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 Beccati | 2009-03-28 | 1 | -14/+34 |
| | |||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | - Fixed compiler warnings | Felipe Pena | 2008-10-12 | 1 | -0/+5 |
| | |||||
* | - Fixed bug #46249 (pdo_pgsql always fill in NULL for empty BLOB) | Felipe Pena | 2008-10-11 | 1 | -2/+8 |
| | | | | | - Fixed bug #46274 (pdo_pgsql - Segfault when using PDO::ATTR_STRINGIFY_FETCHES and blob) | ||||
* | Better fix for bug #44189 | Ilia Alshanetsky | 2008-02-26 | 1 | -0/+3 |
| | |||||
* | Simplify code | Ilia Alshanetsky | 2008-01-29 | 1 | -5/+3 |
| | |||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | Fixed bug #43457 (Prepared statement with incorrect parms doens't | Ilia Alshanetsky | 2007-12-02 | 1 | -1/+1 |
| | | | | | throw exception with pdo_pgsql driver) | ||||
* | Adjusted fix for bug #42978 | Ilia Alshanetsky | 2007-11-20 | 1 | -0/+5 |
| | |||||
* | Separate parm zval. | Ilia Alshanetsky | 2007-04-17 | 1 | -0/+1 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | Fixed bug #39656 (crash when calling fetch() on a PDO statment object | Ilia Alshanetsky | 2006-11-28 | 1 | -1/+1 |
| | | | | | after closeCursor()). | ||||
* | Fixed compiler warnings | Ilia Alshanetsky | 2006-11-16 | 1 | -1/+2 |
| | |||||
* | Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements). | Ilia Alshanetsky | 2006-09-19 | 1 | -4/+8 |
| | | | | | | | Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors). Fixed test for bug #38253 not to use faulty SQL that generates errors in PostgreSQL | ||||
* | Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters). | Ilia Alshanetsky | 2006-08-01 | 1 | -4/+4 |
| | |||||
* | Fixed memory leaks when working with cursors in PDO PostgreSQL driver. | Ilia Alshanetsky | 2006-05-08 | 1 | -0/+1 |
| | |||||
* | The fix for #35332 caused #35671 (and thus PECL #6504). | Wez Furlong | 2006-03-27 | 1 | -1/+5 |
| | | | | | | Partially back out that fix and introduce an extra optional step for drivers to canonicalize the "name" that is used for registering parameters. | ||||
* | fix #36727 (segfault in pdo_pgsql bindValue() when no parameters are defined) | Antony Dovgal | 2006-03-17 | 1 | -1/+1 |
| | |||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 |
| | |||||
* | Fixed compiler warning | Ilia Alshanetsky | 2005-12-17 | 1 | -0/+3 |
| | |||||
* | Retry on failed prepare resulting from duplicate statement name. | Ilia Alshanetsky | 2005-12-17 | 1 | -5/+25 |
| | |||||
* | Fixed memory leaks | Ilia Alshanetsky | 2005-12-01 | 1 | -0/+4 |
| | |||||
* | Fixed memory leak | Ilia Alshanetsky | 2005-11-30 | 1 | -1/+4 |
| | |||||
* | Added PDO::pgsqlLOBCreate(), PDO::pgsqlLOBOpen() and PDO::pgsqlLOBUnlink(). | Wez Furlong | 2005-11-29 | 1 | -10/+64 |
| | |||||
* | Addresses #35338. | Wez Furlong | 2005-11-25 | 1 | -9/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | Postgres client API is pretty poor, so we have zero idea about the actual parameter types in a statement. We now defer the preparation of a statement until the first call to execute is made. At that point, we have the parameters defined by the calling script, so we can use the typing specified there when we perform the prepare. For PDO_PARAM_LOB parameters, we set the binary formatting flag. We can't just set this flag for all parameters, because its meaning is not "string data, counted length" but "data is in native format". If this flag is set for a numeric column and we send the number 1 formatted as a string, then we will get an "insufficient data left in message" error message, because the library was expecting sizeof(int4) bytes but only saw 1 byte for "1". This is infuriating because we have no way to determine the datatypes for parameters, and the type we explicitly set has to match the type in the database. The only choice we're left with is telling postgres to deduce the type; we still have no idea what type was deduced. | ||||
* | Refs #34630 | Wez Furlong | 2005-09-24 | 1 | -0/+16 |
| |