Ilia Alshanetsky
6ed1819bf4
Added inTransaction() method to PDO, with specialized support for Postgres
2010-06-10 12:11:19 +00:00
Ilia Alshanetsky
7ea9e879f3
Added support for copy to/from array/file for pdo_pgsql extension.
...
# original patch by Denis Gasparin
2010-06-10 11:11:29 +00:00
Ilia Alshanetsky
d2e14e3f20
Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0)
2010-01-12 12:46:54 +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
9326c7e3a2
- Updated pdo_pgsql tests to be 8.5+ friendly
2009-12-25 20:11:07 +00:00
Rasmus Lerdorf
937358ebc7
Revert attempt at supporting both autoconf 2.13 and
...
modern versions in the same build chain. There are
simply too many broken things in 2.13 to make it work.
Cache handling is broken as well which is why I need
to revert the pdo_inc_path cache fix as well.
trunk is now 2.60+ only and I'll work on cleaning out
all the legacy cruft from there.
2009-11-29 06:13:22 +00:00
Rasmus Lerdorf
5a2b41a627
Someone strap down Jani and give him a sedative please.
...
This makes our toolchain work with the latest versions
of autoconf and avoids a lot of end-user grief.
2009-11-25 01:30:06 +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
Matteo Beccati
9ee8dd90a3
- Fixed bug #48764 (PDO_pgsql::query always uses implicit prepared statements if v3 proto available)
...
# original patch by Mark Kirkwood
2009-10-07 17:40:16 +00:00
Kalle Sommer Nielsen
4b95edd125
MFH: Typo
2009-05-25 19:41:13 +00:00
Matteo Beccati
c25b0a2817
MFH
...
- Moved test for bug #44861 to PDO commons and added support for pdo_oci
# This allows scrollable cursors to be tested with all the drivers
# that currently support them (pgsql and oci), ensuring a consistent
# behaviour. The test is skipped when using other drivers.
2009-05-12 23:40:32 +00:00
Matteo Beccati
3fb4089ba7
MFH
...
- Fixed bug #48188
2009-05-12 22:18:15 +00:00
Matteo Beccati
b8910c99ea
MFH:
...
- Removed HAVE_PQEXECPARAMS which was left out during the previous commit
2009-04-30 12:56:00 +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
Pierre Joye
2c243e2bb5
- MFH: 8.3.x supports pqprepare
2009-04-01 16:16:49 +00:00
Pierre Joye
ebfdd61503
- fix build when pqprepare does not exist
2009-04-01 16:13:33 +00:00
Matteo Beccati
6c6c8febf1
- Fixed bug #44861 (scrollable cursor don't work with pgsql)
2009-03-28 02:58:04 +00:00
Matteo Beccati
fb2a077d5b
MFH:
...
- Added missing #undefs, fixing compile warnings
2009-03-28 01:58:49 +00:00
Pierre Joye
cb95e1e709
- add path for libpq (other are kept)
2009-03-09 17:52:51 +00:00
Felipe Pena
bc9d57ab09
MFH: Fixed test bug #47311 (PDO::PARAM_LOB columns need to be bound before execute() on PgSQL)
2009-02-11 10:44:38 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Felipe Pena
981a23fff3
- MFH: Fixed bug #43925 (Incorrect argument counter in prepared statements with pgsql)
2008-10-23 18:53:05 +00:00
Felipe Pena
a88f7fbc3e
- Fixed compiler warnings
2008-10-12 15:01:12 +00:00
Felipe Pena
d2d4e044c7
- Complete the fix for #46274 , and tests
2008-10-12 13:01:31 +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
Jani Taskinen
281352fe02
MFH: Fix PDO configure dependancy: If --disable-pdo is used, disable all
...
MFH: enabled-by-default drivers. Also error out if you try to configure
MFH: a driver as static but pdo is disabled.
2008-07-25 13:46:24 +00:00
Pierre Joye
58fce3a863
- really check for the dependency, libs and header and don't enable the ext if something is missing
2008-06-22 23:17:22 +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
Nuno Lopes
61eb7ae554
remove unused PHP_EXTNAME_API macros.
...
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
3d8e397546
Fixed test
2007-12-04 13:03:39 +00:00
Ilia Alshanetsky
56c610c97a
Fixed bug #43493 (pdo_pgsql does not send username on connect when password
...
is not available)
2007-12-04 13:03:26 +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
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Jani Taskinen
8af7bc2044
MFH: Fix some lib vs $PHP_LIBDIR issues
2007-07-31 13:02:00 +00:00
Jani Taskinen
0261432888
MFH
2007-07-11 21:51:55 +00:00
Jani Taskinen
cab5c25dc2
MFH:- Fixed bug #35981 (pdo-pgsql should not use pkg-config when not present)
2007-07-09 12:54:11 +00:00
Jani Taskinen
fb8aedb046
MFH
2007-07-09 12:38:02 +00:00
Ilia Alshanetsky
37d1bfed25
Added support for ATTR_TIMEOUT inside pdo_pgsql driver.
...
Fixed a bug inside PDO's "use persistent" connection detection mechanism
that would trigger connections on "" and "0" values
2007-06-28 03:13:29 +00:00
Ilia Alshanetsky
e8de152ddd
Added persistent connection status checker to pdo_pgsql
2007-06-27 02:00:46 +00:00
Antony Dovgal
1f65545121
fix test names
2007-05-07 18:03:01 +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
d257696604
Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql).
2006-12-18 17:56:25 +00:00
Ilia Alshanetsky
bfa4af46e1
Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory
...
corruption on Windows in pgsql and pdo_pgsql extensions).
2006-11-29 15:45:59 +00:00