Commit Graph

180 Commits

Author SHA1 Message Date
Ilia Alshanetsky
c2ed5e6f9d Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0) 2010-01-12 12:46:54 +00:00
Sebastian Bergmann
22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Matteo Beccati
731466cca3 - Updated pdo_pgsql tests to be 8.5+ friendly 2009-12-25 20:11:07 +00:00
Rasmus Lerdorf
3f5a58bd3a 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
72997aa430 - 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
2f4f36f1ee - Reverting previous fix for bug #49985
# Unmerged changes from revision 289924
2009-11-04 19:16:39 +00:00
Ilia Alshanetsky
2baebb7eed - Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction). 2009-10-26 02:02:28 +00:00
Matteo Beccati
be7b754b85 - 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
998beaa20e Typo 2009-05-25 19:40:49 +00:00
Matteo Beccati
c6aa455ff1 - 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:39:57 +00:00
Matteo Beccati
82151d4dc3 - Fixed bug #48188 2009-05-12 22:17:50 +00:00
Matteo Beccati
8511661571 - Removed HAVE_PQEXECPARAMS which was left out during the previous commit 2009-04-30 12:55:43 +00:00
Matteo Beccati
c58c93b9b2 - 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:35:36 +00:00
Matteo Beccati
7db1207d47 - 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:22:12 +00:00
Pierre Joye
4b5d4e8c8c - 8.3.x supports pqprepare 2009-04-01 16:16:20 +00:00
Pierre Joye
1dc4ff564d - MFB: fix build when pqprepare does not exist 2009-04-01 16:14:50 +00:00
Matteo Beccati
61476ca182 MFB:
- Fixed bug #44861 (scrollable cursor don't work with pgsql)
2009-03-28 03:01:38 +00:00
Matteo Beccati
dd6b8d4ceb MFB:
- Updated pdo_pgsql from PHP_5_3
2009-03-28 02:34:02 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Felipe Pena
67c51317f5 Fixed test bug #47311 (PDO::PARAM_LOB columns need to be bound before execute() on PgSQL) 2009-02-11 10:44:27 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
1d92251fe1 - Fixed bug #43925 (Incorrect argument counter in prepared statements with pgsql) 2008-10-23 18:22:18 +00:00
Felipe Pena
fac97d5694 - Removed unused variables 2008-08-15 19:57:24 +00:00
Jani Taskinen
3f73317c79 - Fix PDO configure dependancy: If --disable-pdo is used, disable all enabled-by-default drivers. Also error out if you try to configure a driver as static but pdo is disabled. 2008-07-25 13:38:41 +00:00
Ilia Alshanetsky
5b5f3d1944 MFB: Better fix for bug #44189 2008-02-26 00:14:25 +00:00
Nuno Lopes
1dc0e94e0f MFB: remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:18:29 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Ilia Alshanetsky
c10c2d102f MFB: Fixed bug #43493 (pdo_pgsql does not send username on connect when
password is not available)
2007-12-04 13:07:30 +00:00
Ilia Alshanetsky
20819ec791 MFB: fixed test 2007-12-04 13:05:44 +00:00
Ilia Alshanetsky
c81c24d905 MFB: Fixed bug #43457 (Prepared statement with incorrect parms doens't
throw exception with pdo_pgsql driver)
2007-12-02 20:59:09 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Jani Taskinen
099f5966ef - Fix some lib vs. $PHP_LIBDIR issues. 2007-07-31 13:01:42 +00:00
Nuno Lopes
8171d5cc68 attempt to fix pdo_pgsql tests in HEAD 2007-07-18 12:28:08 +00:00
Jani Taskinen
b394a74797 - Removed unused empty macro and nuked illegal use of $withval 2007-07-11 21:51:10 +00:00
Jani Taskinen
eb45a0f7d7 - Fixed bug #35981 (pdo-pgsql should not use pkg-config when not present) 2007-07-09 12:53:52 +00:00
Jani Taskinen
d117b9014f no tabs 2007-07-09 12:37:57 +00:00
Ilia Alshanetsky
3821f0c45a MFB 2007-05-28 23:33:13 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
2d2ed1ef76 MFB: Fixed bug #39845 (Persistent connections generate a warning in
pdo_pgsql).
2006-12-18 17:56:51 +00:00
Hannes Magnusson
950ab95207 Fix ZTS build 2006-12-16 18:31:23 +00:00
Ilia Alshanetsky
460e59a1b5 MFB: 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:47:41 +00:00
Ilia Alshanetsky
2b703207d5 MFB: Fixed bug #39656 (crash when calling fetch() on a PDO statment object
after closeCursor()).
2006-11-28 16:28:07 +00:00
Ilia Alshanetsky
56742f85a5 MFB: fixed compiler warnings 2006-11-16 17:34:42 +00:00
Marcus Boerger
fc84aad474 - Drop some uncompletley synched code, makes it work at least 2006-10-31 19:13:41 +00:00
Edin Kadribasic
ed0e78fb78 MFB: Sync with Unix build 2006-10-11 11:00:37 +00:00
Ilia Alshanetsky
0e6a629702 MFB: Make quote() in PostgreSQL use PQescapeByteaConn() whenever possible
for binary strings.
2006-10-06 22:34:29 +00:00
Edin Kadribasic
5cdef2aaf7 MFB: Added PQescapeStringConn support to windows too 2006-10-05 11:14:17 +00:00
Ilia Alshanetsky
e448be3c28 MFB: Added support for character sets in PDO quote() method for PostgreSQL
8.1.4 and higher.
2006-10-04 23:53:54 +00:00
Ilia Alshanetsky
8690a5a2d9 MFB:
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:46:25 +00:00