1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Commit Graph

59 Commits

Author SHA1 Message Date
Sebastian Bergmann
22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +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
Kalle Sommer Nielsen
998beaa20e Typo 2009-05-25 19:40:49 +00:00
Matteo Beccati
82151d4dc3 - Fixed bug #48188 2009-05-12 22:17:50 +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
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
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
fac97d5694 - Removed unused variables 2008-08-15 19:57:24 +00:00
Ilia Alshanetsky
5b5f3d1944 MFB: Better fix for bug #44189 2008-02-26 00:14:25 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +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
Ilia Alshanetsky
3821f0c45a MFB 2007-05-28 23:33:13 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +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
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
Ilia Alshanetsky
378b1181c2 MFB: Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters). 2006-08-01 16:32:30 +00:00
Ilia Alshanetsky
889f66837c MFB: Fixed memory leaks when working with cursors in PDO PostgreSQL driver. 2006-05-08 14:33:23 +00:00
Antony Dovgal
f5aecbf18c MFB: fix #36727 (segfault in pdo_pgsql bindValue() when no parameters are defined) 2006-03-17 22:17:15 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Ilia Alshanetsky
3953b14024 Make PDO use class constants 2005-09-20 00:33:42 +00:00
Wez Furlong
37ace0651b merge other PDO fixes from 5.1 branch.
Allow pdo_sqlite to build against 5.0 and 5.1 too.
2005-09-11 05:08:49 +00:00
Edin Kadribasic
0161d1bfd1 MFB 2005-09-03 23:52:56 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
858d827790 Added cursor closer handler.
Fixed memory leak.
2005-07-09 04:54:04 +00:00
Wez Furlong
6ee00c8199 fix leak 2005-07-08 20:45:19 +00:00
Wez Furlong
6377c0ccca Fix PECL #4753 2005-07-08 19:05:57 +00:00
Wez Furlong
512af63a63 rewrite original names to our preferred format 2005-07-08 17:01:20 +00:00
Ilia Alshanetsky
2301d93156 Some of us don't have PostgreSQL 8.0 :) 2005-07-08 16:20:13 +00:00
Wez Furlong
529d8177fe Add early support for native prepared statements in pgsql.
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).
2005-07-08 15:27:34 +00:00
Wez Furlong
75cfa5c2e0 probable fix for PECL bug #4546 2005-07-03 03:04:13 +00:00
Edin Kadribasic
7ef1a91508 Fold PQresultErrorField() into a macro 2005-07-01 22:30:55 +00:00
Ilia Alshanetsky
fa0e534f83 Various compiler warning fixes. 2005-05-18 22:40:56 +00:00
Wez Furlong
4f778ca31d patch by Christopher Kings-Lynne, slightly modified 2005-05-13 18:09:03 +00:00
Christopher Kings-Lynne
3e6fce84bb - Use a replacement for PQunescapeBytea so that linking against a pre-7.3
libpq is possible.  This is exactly what ext/pgsql currently does.

# I hope this is an acceptable improvement.
2005-03-23 08:52:40 +00:00
Marcus Boerger
cdb042f632 - Fix fetching bound vars & tests 2005-03-10 18:48:01 +00:00
Edin Kadribasic
2c306869c5 Fixed bug #3478: handling of 64bit return values on 32bit machine 2005-02-15 12:41:24 +00:00
Wez Furlong
af162668e5 fix pointer indirection (and thus leak) 2005-02-07 00:04:20 +00:00
Edin Kadribasic
22ff90f7ba Adjust for the new get_col api 2005-02-06 22:48:35 +00:00
Edin Kadribasic
bf77a39349 Decode pgsql LOB objects (bytea type) on fetch 2005-02-05 22:55:23 +00:00
Edin Kadribasic
95cc208464 Removed unused variebles.
Return OID as int.
2005-02-05 20:38:47 +00:00
Edin Kadribasic
1a962e9d98 Get OID of the last inserted row 2005-02-04 01:48:01 +00:00
Edin Kadribasic
60f5e66aa9 Add support for fetching meta data 2005-01-23 14:50:06 +00:00
Edin Kadribasic
d8aa131ca0 Store pgsql_type, intval and boolav per column 2005-01-23 10:57:11 +00:00