Commit Graph

155 Commits

Author SHA1 Message Date
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
Ilia Alshanetsky
378b1181c2 MFB: Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters). 2006-08-01 16:32:30 +00:00
Marcus Boerger
ea14497546 -fix a bunch of warnings 2006-07-23 05:48:08 +00:00
Edin Kadribasic
78c2c50c86 MFB: Remove pecl includes (Steph), except pdo_odbc which will remain broke 2006-05-11 21:48:57 +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
Edin Kadribasic
7b156d6236 MFB: Fixed build 2006-03-14 11:14:05 +00:00
Edin Kadribasic
bcf85422c2 MFB: more verbose phpinfo() output 2006-03-14 11:04:13 +00:00
Ilia Alshanetsky
b90245d90a MFB51: Fixed bug #36176 (PDO_PGSQL - PDO::exec() does not return number of
rows affected by the operation).
2006-01-29 17:36:12 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Marcus Boerger
57413e1b28 - MFB 2005-12-31 17:42:01 +00:00
Marcus Boerger
7ffe23c515 - MFB Get rid of warnings 2005-12-20 21:12:13 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
04dffec1c4 - Use right define: ZEND_MODULE_API_NO as these are PHP modules, not Zend extensions 2005-11-25 15:40:14 +00:00
Ilia Alshanetsky
71f9416fda MFB: remove PDO_ prefix 2005-09-20 00:46:07 +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
Wez Furlong
f6276a2b8a zts fixes 2005-08-12 23:32:31 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Wez Furlong
32cf3cc19f Yes, I can't count the months, and no, I'm not related to Ilia. 2005-07-27 04:07:44 +00:00
Wez Furlong
ba77f8515b prep for PECL release 2005-07-27 02:51:01 +00:00
Wez Furlong
79f3cb9856 Add PDO_PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT attribute, which, when set
to true, forces the driver to use PDO's own emulated prepared statement
support.

Why would you want that, considering that native prepared statements are
supposed to be the best thing ever?

"Often postgresql will have to plan the query without knowing the parameters -
and it will choose a bad plan.  In some cases it will plan based on the first
parameters you send. "

Ugh.  So now we have a way to let you decide that you know better than the
pgsql query planner.
2005-07-20 02:37:57 +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