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
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
4580a7fd8e
using new tests
2005-07-07 15:34:46 +00:00
Wez Furlong
b7459aaf7d
adopt new tests
2005-07-07 15:20:06 +00:00
Ilia Alshanetsky
6c332449f9
Use PQexecParams() when available, use original case in all other instances.
2005-07-07 13:35:39 +00:00
Ilia Alshanetsky
10e1eecf3f
Leave it up to the user to decide if to escape the sequence name or not.
2005-07-07 02:17:20 +00:00
Ilia Alshanetsky
bcb447f6b8
Faster sequence id retrieval.
2005-07-07 00:52:19 +00:00
Wez Furlong
75cfa5c2e0
probable fix for PECL bug #4546
2005-07-03 03:04:13 +00:00
Edin Kadribasic
f05de12fcf
Only check for InvalidOid when not looking up a sequence
2005-07-01 22:43:16 +00:00
Edin Kadribasic
7ef1a91508
Fold PQresultErrorField() into a macro
2005-07-01 22:30:55 +00:00
Edin Kadribasic
1a10666b08
Added support for fetching current value of a sequence when the
...
optional sequence name has been passed to PDO::lastInsertId()
2005-07-01 21:54:50 +00:00
Ilia Alshanetsky
613d30f215
Silence warnings.
2005-06-30 00:07:42 +00:00
Ilia Alshanetsky
8c0dc5e887
Make exec() return FALSE on error as do other drivers.
2005-06-28 14:54:44 +00:00
Ilia Alshanetsky
3fe8b55917
Fixed double-free bug.
2005-06-28 04:03:58 +00:00
Ilia Alshanetsky
f04cbae3fd
fixed oid retrieval.
2005-06-28 02:09:53 +00:00
Marcus Boerger
5cf2c9dc45
- Add +ifdefs to still allow PHP 5.0 builds of PDO
...
# PDO is a PECL extension and at the moment is still meant to compile on
# both PHP 5.0 and PHP 5.1.
2005-06-23 00:19:16 +00:00
Ilia Alshanetsky
c594f47f76
Fixed test skip conditions.
...
# Same needs to be done to odbc, but it seems access is restricted
# for "privileged" folks.
2005-06-21 13:42:23 +00:00
foobar
15cf2a60b0
- Added PHP_CHECK_PDO_INCLUDES macro (caches the result)
2005-06-14 00:00:53 +00:00
foobar
a20383ba06
- Unify the "configure --help" texts
2005-05-29 23:17:16 +00:00
Marcus Boerger
9b3929a7e9
- Need to make PDO::__construct() final to prevent SEGV it isn't called 1st
2005-05-26 18:36:18 +00:00
Marcus Boerger
2ac0540323
- Add test for deriving PDO
2005-05-24 14:26:22 +00:00
Marcus Boerger
88157ad284
- Add new tests for PDO_FETCH_INTO
2005-05-24 12:39:09 +00:00
Ilia Alshanetsky
fa0e534f83
Various compiler warning fixes.
2005-05-18 22:40:56 +00:00
Ilia Alshanetsky
57aa3b984b
Removed define checks that break the build.
2005-05-17 20:08:53 +00:00