Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - 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 | |
| | ||||||
* | if a php bolean makes it as far as the parameter callback, it must really need | Wez Furlong | 2005-09-10 | 1 | -0/+4 | |
| | | | | | | | to be boolean; express is as native pgsql 't' or 'f'. Add a test case for Bug #33876, which is a partially bogus bug. | |||||
* | Don't crash on invalid parameter #34203 (Wez) | Edin Kadribasic | 2005-09-03 | 1 | -9/+11 | |
| | ||||||
* | - Bumber up year | foobar | 2005-08-03 | 1 | -1/+1 | |
| | ||||||
* | Added cursor closer handler. | Ilia Alshanetsky | 2005-07-09 | 1 | -1/+7 | |
| | | | | | Fixed memory leak. | |||||
* | fix leak | Wez Furlong | 2005-07-08 | 1 | -0/+5 | |
| | ||||||
* | Fix PECL #4753 | Wez Furlong | 2005-07-08 | 1 | -2/+2 | |
| | ||||||
* | rewrite original names to our preferred format | Wez Furlong | 2005-07-08 | 1 | -2/+13 | |
| | ||||||
* | Some of us don't have PostgreSQL 8.0 :) | Ilia Alshanetsky | 2005-07-08 | 1 | -1/+2 | |
| | ||||||
* | Add early support for native prepared statements in pgsql. | Wez Furlong | 2005-07-08 | 1 | -0/+76 | |
| | | | | | | 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). | |||||
* | probable fix for PECL bug #4546 | Wez Furlong | 2005-07-03 | 1 | -1/+1 | |
| | ||||||
* | Fold PQresultErrorField() into a macro | Edin Kadribasic | 2005-07-01 | 1 | -13/+2 | |
| | ||||||
* | Various compiler warning fixes. | Ilia Alshanetsky | 2005-05-18 | 1 | -1/+0 | |
| | ||||||
* | patch by Christopher Kings-Lynne, slightly modified | Wez Furlong | 2005-05-13 | 1 | -7/+21 | |
| | ||||||
* | - Use a replacement for PQunescapeBytea so that linking against a pre-7.3 | Christopher Kings-Lynne | 2005-03-23 | 1 | -1/+105 | |
| | | | | | | | libpq is possible. This is exactly what ext/pgsql currently does. # I hope this is an acceptable improvement. | |||||
* | - Fix fetching bound vars & tests | Marcus Boerger | 2005-03-10 | 1 | -6/+6 | |
| | ||||||
* | Fixed bug #3478: handling of 64bit return values on 32bit machine | Edin Kadribasic | 2005-02-15 | 1 | -0/+2 | |
| | ||||||
* | fix pointer indirection (and thus leak) | Wez Furlong | 2005-02-07 | 1 | -1/+1 | |
| | ||||||
* | Adjust for the new get_col api | Edin Kadribasic | 2005-02-06 | 1 | -22/+8 | |
| | ||||||
* | Decode pgsql LOB objects (bytea type) on fetch | Edin Kadribasic | 2005-02-05 | 1 | -0/+28 | |
| | ||||||
* | Removed unused variebles. | Edin Kadribasic | 2005-02-05 | 1 | -6/+7 | |
| | | | | | Return OID as int. | |||||
* | Get OID of the last inserted row | Edin Kadribasic | 2005-02-04 | 1 | -0/+1 | |
| | ||||||
* | Add support for fetching meta data | Edin Kadribasic | 2005-01-23 | 1 | -1/+51 | |
| | ||||||
* | Store pgsql_type, intval and boolav per column | Edin Kadribasic | 2005-01-23 | 1 | -8/+7 | |
| | ||||||
* | Remove debug stuff | Edin Kadribasic | 2005-01-22 | 1 | -1/+0 | |
| | ||||||
* | Support for native nulls, bools and ints | Edin Kadribasic | 2005-01-22 | 1 | -4/+54 | |
| | ||||||
* | Eliminate unused parameter. | Wez Furlong | 2005-01-21 | 1 | -3/+3 | |
| | | | | | | Don't start a transaction when asking for a cursor with pgsql. Fix parameter binding for sqlite3 | |||||
* | Take a blind stab at implementing scrollable cursors for pgsql. | Wez Furlong | 2005-01-13 | 1 | -6/+54 | |
| | | | | | | | | | | | | | | | | | | | | We allocate a unique cursor name for each statement, so that we don't interfere with other open statement handles on the same dbh. Note, however, that we force a new transaction for each open scrollable cursor (postgres requires cursors to be used inside a transaction). This is okay, except for the case where a scrollable cursor is opened, an update is made and the cursor is closed; closing the cursor commits the transaction that was begun when it was opened. It might well be better to avoid the transaction in PDO and force the user to be aware of the requirements of cursors and explicitly initiate the transaction themselves. This is all untested code; it compiles and looks like it will work, but I encourage someone with a real postgres setup to actually sit down and try to use it. |