Matteo Beccati
3bb1a4ffe3
Merge branch 'PHP-5.5' into PHP-5.6
...
* 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
2015-06-12 02:07:02 +02:00
Matteo Beccati
b60efdce9f
Fix bug #69344 (PDO PgSQL Incorrect binding numeric array with gaps)
2015-06-12 02:05:28 +02:00
Anatol Belski
effbc87ff1
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
updated NEWS
fix memory leak in pdo_pgsql closeCursor (bug 69752)
2015-06-10 16:41:07 +02:00
Philip Hofstetter
9ba3a4c66a
fix memory leak in pdo_pgsql closeCursor (bug 69752)
...
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.
2015-06-10 16:36:00 +02:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Xinchen Hui
73c1be2653
Bump year
2015-01-15 23:26:03 +08:00
Matteo Beccati
8fccf0bac9
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
2014-11-06 16:34:47 +01:00
Matteo Beccati
8fdc4d8797
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
2014-11-06 15:47:32 +01:00
Matteo Beccati
e12d69df0c
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #66584 Segmentation fault on statement deallocation
2014-11-01 19:20:43 +01:00
Matteo Beccati
69f6aee35c
Fixed bug #66584 Segmentation fault on statement deallocation
2014-11-01 19:19:56 +01:00
Matteo Beccati
e378348a31
Added new PDO::PGSQL_ATTR_DISABLE_PREPARES that uses PQexecParams
...
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.
2014-03-11 23:10:48 +01:00
Matteo Beccati
b1ffea3ccc
Drop PDO support for extremely old libpq versions
...
configure will now fail if any of the following function is missing:
* PQprepare
* PQexecParams
* PQescapeStringConn
* PQescapeByteaConn
2014-03-11 23:10:47 +01:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08:00
Matteo Beccati
696852f2bd
Fixed other compiler warnings in PDO_PGSQL
2013-08-21 11:22:33 +02:00
Yasuo Ohgaki
0ddb3d97de
Fixed meta data retrieve when OID is larger than 2^31
2013-07-13 06:06:23 +09:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Will Fitch
d864063a18
Bug #62593 Updated to account for INOUT parameters
2012-10-30 14:32:32 +01:00
Will Fitch
646c0e5738
Bug #62593 Updated to always treat zval by value
2012-10-30 14:32:22 +01:00
Will Fitch
7ea4f73ad4
Bug #62593 Updated pdo_pgsql driver to convert boolean values to pg native format in emulation mode
2012-10-30 14:32:09 +01:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
83a7831760
- Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down)
...
patch by: gyp at balabit dot hu
2010-12-10 17:50:26 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Matteo Beccati
fa67c860e0
- Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).
...
# Removed usage of the memory address when generating prepared statemend names
# as uniqueness can't be enforced. Used a statment counter instead.
2009-11-04 19:32:27 +00:00
Matteo Beccati
e6f4503f29
- Reverting previous fix for bug #49985
...
# Unmerged changes from revision 289924
2009-11-04 19:16:39 +00:00
Ilia Alshanetsky
42626ae6fa
- Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).
2009-10-26 02:02:28 +00:00
Kalle Sommer Nielsen
4b95edd125
MFH: Typo
2009-05-25 19:41:13 +00:00
Matteo Beccati
3fb4089ba7
MFH
...
- Fixed bug #48188
2009-05-12 22:18:15 +00:00
Matteo Beccati
6e22ab5e3e
MFH:
...
- 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
2009-04-30 12:38:43 +00:00
Matteo Beccati
0b576f6f11
MFH:
...
- 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
2009-04-23 13:26:10 +00:00
Matteo Beccati
6c6c8febf1
- Fixed bug #44861 (scrollable cursor don't work with pgsql)
2009-03-28 02:58:04 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Felipe Pena
a88f7fbc3e
- Fixed compiler warnings
2008-10-12 15:01:12 +00:00
Felipe Pena
9552f1a573
- 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)
2008-10-11 19:03:23 +00:00
Ilia Alshanetsky
43bcf759d3
Better fix for bug #44189
2008-02-26 00:13:57 +00:00
Ilia Alshanetsky
3eb387155a
Simplify code
2008-01-29 01:17:30 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
39f37ce950
Fixed bug #43457 (Prepared statement with incorrect parms doens't
...
throw exception with pdo_pgsql driver)
2007-12-02 20:58:14 +00:00
Ilia Alshanetsky
204f9e1a74
Adjusted fix for bug #42978
2007-11-20 23:12:17 +00:00
Ilia Alshanetsky
1e0f6fe5bb
Separate parm zval.
2007-04-17 15:29:13 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
2d4b8e19e2
Fixed bug #39656 (crash when calling fetch() on a PDO statment object
...
after closeCursor()).
2006-11-28 16:27:53 +00:00
Ilia Alshanetsky
c7d84b7451
Fixed compiler warnings
2006-11-16 17:33:39 +00:00
Ilia Alshanetsky
2332e4f9fc
Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).
...
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
2006-09-19 15:45:22 +00:00
Ilia Alshanetsky
7f52671781
Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters).
2006-08-01 16:31:29 +00:00
Ilia Alshanetsky
79ebfe382b
Fixed memory leaks when working with cursors in PDO PostgreSQL driver.
2006-05-08 14:33:00 +00:00
Wez Furlong
fb7d5bd780
The fix for #35332 caused #35671 (and thus PECL #6504 ).
...
Partially back out that fix and introduce an extra optional step for drivers to
canonicalize the "name" that is used for registering parameters.
2006-03-27 20:51:01 +00:00
Antony Dovgal
7731dc9421
fix #36727 (segfault in pdo_pgsql bindValue() when no parameters are defined)
2006-03-17 22:15:57 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00