summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/pgsql_statement.c
Commit message (Collapse)AuthorAgeFilesLines
* - Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down)Felipe Pena2010-12-101-1/+1
| | | | | patch by: gyp at balabit dot hu
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* - Fixed bug #50575 (PDO_PGSQL LOBs are not compatible with PostgreSQL 8.5)Matteo Beccati2009-12-251-0/+20
| | | | | # Affects 5.2 only, no need to MFB
* - Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted ↵Matteo Beccati2009-11-041-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 Beccati2009-11-041-17/+3
| | | | | # Unmerged changes from revision 289924
* - Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).Ilia Alshanetsky2009-10-261-3/+17
|
* MFHMatteo Beccati2009-09-031-2/+8
| | | | | | | - Fixed bug #48060 (pdo_pgsql - large objects are returned as empty) # Backported from 5.3.0, per gripe from Konstantin Ryabitsev # Permission granted by Ilia
* MFH: TypoKalle Sommer Nielsen2009-05-251-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - MFB: Fixed compiler warningsFelipe Pena2008-10-121-0/+4
|
* MFH:Felipe Pena2008-10-111-2/+8
| | | | | | - Fixed bug #46249 (pdo_pgsql always fill in NULL for empty BLOB) - Fixed bug #46274 (pdo_pgsql - Segfault when using PDO::ATTR_STRINGIFY_FETCHES and blob)
* MFB: Better fix for bug #44189Ilia Alshanetsky2008-02-261-0/+3
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFB: Fixed bug #43457 (Prepared statement with incorrect parms doens'tIlia Alshanetsky2007-12-021-1/+1
| | | | | throw exception with pdo_pgsql driver)
* MFB: Adjusted fix for bug #42978Ilia Alshanetsky2007-11-201-0/+5
|
* Separate parm zval.Ilia Alshanetsky2007-04-171-0/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Fixed bug #39656 (crash when calling fetch() on a PDO statment objectIlia Alshanetsky2006-11-281-1/+1
| | | | | after closeCursor()).
* Fixed compiler warningsIlia Alshanetsky2006-11-161-1/+2
|
* Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).Ilia Alshanetsky2006-09-191-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 Alshanetsky2006-08-011-4/+4
|
* Fixed memory leaks when working with cursors in PDO PostgreSQL driver.Ilia Alshanetsky2006-05-081-0/+1
|
* The fix for #35332 caused #35671 (and thus PECL #6504).Wez Furlong2006-03-271-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 Dovgal2006-03-171-1/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* Fixed compiler warningIlia Alshanetsky2005-12-171-0/+3
|
* Retry on failed prepare resulting from duplicate statement name.Ilia Alshanetsky2005-12-171-5/+25
|
* Fixed memory leaksIlia Alshanetsky2005-12-011-0/+4
|
* Fixed memory leakIlia Alshanetsky2005-11-301-1/+4
|
* Added PDO::pgsqlLOBCreate(), PDO::pgsqlLOBOpen() and PDO::pgsqlLOBUnlink().Wez Furlong2005-11-291-10/+64
|
* Addresses #35338.Wez Furlong2005-11-251-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 #34630Wez Furlong2005-09-241-0/+16
|
* if a php bolean makes it as far as the parameter callback, it must really needWez Furlong2005-09-101-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 Kadribasic2005-09-031-9/+11
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Added cursor closer handler.Ilia Alshanetsky2005-07-091-1/+7
| | | | | Fixed memory leak.
* fix leakWez Furlong2005-07-081-0/+5
|
* Fix PECL #4753Wez Furlong2005-07-081-2/+2
|
* rewrite original names to our preferred formatWez Furlong2005-07-081-2/+13
|
* Some of us don't have PostgreSQL 8.0 :)Ilia Alshanetsky2005-07-081-1/+2
|
* Add early support for native prepared statements in pgsql.Wez Furlong2005-07-081-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 #4546Wez Furlong2005-07-031-1/+1
|
* Fold PQresultErrorField() into a macroEdin Kadribasic2005-07-011-13/+2
|
* Various compiler warning fixes.Ilia Alshanetsky2005-05-181-1/+0
|
* patch by Christopher Kings-Lynne, slightly modifiedWez Furlong2005-05-131-7/+21
|
* - Use a replacement for PQunescapeBytea so that linking against a pre-7.3Christopher Kings-Lynne2005-03-231-1/+105
| | | | | | | libpq is possible. This is exactly what ext/pgsql currently does. # I hope this is an acceptable improvement.
* - Fix fetching bound vars & testsMarcus Boerger2005-03-101-6/+6
|
* Fixed bug #3478: handling of 64bit return values on 32bit machineEdin Kadribasic2005-02-151-0/+2
|
* fix pointer indirection (and thus leak)Wez Furlong2005-02-071-1/+1
|
* Adjust for the new get_col apiEdin Kadribasic2005-02-061-22/+8
|