Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0) | Ilia Alshanetsky | 2010-01-12 | 1 | -1/+1 |
| | |||||
* | 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 | -2/+2 |
| | | | | | | | | transaction). # Removed usage of the memory address when generating prepared statemend names # as uniqueness can't be enforced. Used a statment counter instead. | ||||
* | - Fixed bug #48764 (PDO_pgsql::query always uses implicit prepared ↵ | Matteo Beccati | 2009-10-07 | 1 | -6/+19 |
| | | | | | | | statements if v3 proto available) # original patch by Mark Kirkwood | ||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | MFB: Fixed bug #43493 (pdo_pgsql does not send username on connect when | Ilia Alshanetsky | 2007-12-04 | 1 | -4/+4 |
| | | | | | password is not available) | ||||
* | Added support for ATTR_TIMEOUT inside pdo_pgsql driver. | Ilia Alshanetsky | 2007-06-28 | 1 | -9/+12 |
| | | | | | | Fixed a bug inside PDO's "use persistent" connection detection mechanism that would trigger connections on "" and "0" values | ||||
* | Added persistent connection status checker to pdo_pgsql | Ilia Alshanetsky | 2007-06-27 | 1 | -1/+12 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql). | Ilia Alshanetsky | 2006-12-18 | 1 | -1/+6 |
| | |||||
* | Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory | Ilia Alshanetsky | 2006-11-29 | 1 | -1/+1 |
| | | | | | corruption on Windows in pgsql and pdo_pgsql extensions). | ||||
* | Make quote() in PostgreSQL use PQescapeByteaConn() whenever possible for | Ilia Alshanetsky | 2006-10-06 | 1 | -4/+6 |
| | | | | | binary strings. | ||||
* | Added support for character sets in PDO quote() method for PostgreSQL | Ilia Alshanetsky | 2006-10-04 | 1 | -2/+13 |
| | | | | | 8.1.4 and higher. | ||||
* | Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements). | Ilia Alshanetsky | 2006-09-19 | 1 | -0/+1 |
| | | | | | | | 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 memory leaks when working with cursors in PDO PostgreSQL driver. | Ilia Alshanetsky | 2006-05-08 | 1 | -0/+3 |
| | |||||
* | be aware of PDO_ATTR_EMULATE_PREPARES | Wez Furlong | 2006-04-09 | 1 | -3/+13 |
| | |||||
* | Fixed build | Edin Kadribasic | 2006-03-13 | 1 | -1/+2 |
| | |||||
* | - Fixed bug #36382 (PDO/PgSQL's getColumnMeta() crashes). | Derick Rethans | 2006-02-13 | 1 | -1/+1 |
| | |||||
* | Fixed bug #36176 (PDO_PGSQL - PDO::exec() does not return number of rows | Ilia Alshanetsky | 2006-01-29 | 1 | -9/+12 |
| | | | | | affected by the operation). | ||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 |
| | |||||
* | - Get rid of compiler warnings (both postgres an dphp use these defines) | Marcus Boerger | 2005-12-20 | 1 | -0/+5 |
| | |||||
* | - Fix TSRM | Marcus Boerger | 2005-12-06 | 1 | -1/+1 |
| | |||||
* | MFH: nuke php3 legacy | foobar | 2005-12-06 | 1 | -2/+2 |
| | |||||
* | Fixed memory leaks | Ilia Alshanetsky | 2005-12-01 | 1 | -1/+1 |
| | |||||
* | Fixed memory leak | Ilia Alshanetsky | 2005-11-30 | 1 | -1/+1 |
| | |||||
* | Fixed compiler warnings | Ilia Alshanetsky | 2005-11-29 | 1 | -3/+1 |
| | |||||
* | proto fixups | Wez Furlong | 2005-11-29 | 1 | -14/+21 |
| | |||||
* | Added PDO::pgsqlLOBCreate(), PDO::pgsqlLOBOpen() and PDO::pgsqlLOBUnlink(). | Wez Furlong | 2005-11-29 | 1 | -3/+198 |
| | |||||
* | Addresses #35338. | Wez Furlong | 2005-11-25 | 1 | -34/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | - Bumber up year | foobar | 2005-08-03 | 1 | -1/+1 |
| | |||||
* | Add PDO_PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT attribute, which, when set | Wez Furlong | 2005-07-20 | 1 | -46/+49 |
| | | | | | | | | | | | | | | | | to true, forces the driver to use PDO's own emulated prepared statement support. Why would you want that, considering that native prepared statements are supposed to be the best thing ever? "Often postgresql will have to plan the query without knowing the parameters - and it will choose a bad plan. In some cases it will plan based on the first parameters you send. " Ugh. So now we have a way to let you decide that you know better than the pgsql query planner. | ||||
* | Added cursor closer handler. | Ilia Alshanetsky | 2005-07-09 | 1 | -0/+2 |
| | | | | | Fixed memory leak. | ||||
* | Add early support for native prepared statements in pgsql. | Wez Furlong | 2005-07-08 | 1 | -1/+59 |
| | | | | | | Note that some tests now fail; if we can't resolve this in time for the beta, the prepare code should be disabled (I'll add a flag for this later today). | ||||
* | Use PQexecParams() when available, use original case in all other instances. | Ilia Alshanetsky | 2005-07-07 | 1 | -3/+13 |
| | |||||
* | Leave it up to the user to decide if to escape the sequence name or not. | Ilia Alshanetsky | 2005-07-07 | 1 | -5/+0 |
| | |||||
* | Faster sequence id retrieval. | Ilia Alshanetsky | 2005-07-07 | 1 | -6/+7 |
| | |||||
* | Only check for InvalidOid when not looking up a sequence | Edin Kadribasic | 2005-07-01 | 1 | -4/+3 |
| | |||||
* | Fold PQresultErrorField() into a macro | Edin Kadribasic | 2005-07-01 | 1 | -12/+2 |
| | |||||
* | Added support for fetching current value of a sequence when the | Edin Kadribasic | 2005-07-01 | 1 | -3/+32 |
| | | | | | optional sequence name has been passed to PDO::lastInsertId() | ||||
* | Silence warnings. | Ilia Alshanetsky | 2005-06-30 | 1 | -1/+1 |
| | |||||
* | Make exec() return FALSE on error as do other drivers. | Ilia Alshanetsky | 2005-06-28 | 1 | -2/+2 |
| | |||||
* | Fixed double-free bug. | Ilia Alshanetsky | 2005-06-28 | 1 | -1/+0 |
| | |||||
* | fixed oid retrieval. | Ilia Alshanetsky | 2005-06-28 | 1 | -1/+1 |
| | |||||
* | Various compiler warning fixes. | Ilia Alshanetsky | 2005-05-18 | 1 | -1/+1 |
| | |||||
* | patch by Christopher Kings-Lynne, slightly modified | Wez Furlong | 2005-05-13 | 1 | -8/+15 |
| | |||||
* | Alan: moved your fields away, but reserved you a pointer. | Wez Furlong | 2005-02-26 | 1 | -3/+7 |
| | | | | | | | | | | | | | Changed PDO::lastInsertId() to have following proto: string PDO::lastInsertId([string name]) this allows arbitrary unique identitifers to be returned from the driver. The optional name parameter is for databases that require additional contextual information to be able to return the correct identifier. None currently use it, but pgsql will be on the list of drivers that do. | ||||
* | - Shutup notices | Marcus Boerger | 2005-02-20 | 1 | -0/+8 |
| | |||||
* | Simplify code and fix compiler warning. | Ilia Alshanetsky | 2005-02-12 | 1 | -5/+2 |
| | |||||
* | Finalized pgsql LOB support using native pgsql bytea type. | Edin Kadribasic | 2005-02-06 | 1 | -6/+22 |
| | | | | | | | | If paramater is bound with type PDO_PARAM_LOB the quoter function gets a hint that specific LOB type quoting should be used: $stmt->bindParam(":lob", $lob, PDO_PARAM_LOB); |