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
Ilia Alshanetsky
2d4b8e19e2
Fixed bug #39656 (crash when calling fetch() on a PDO statment object
...
after closeCursor()).
2006-11-28 16:27:53 +00:00
Ilia Alshanetsky
c7d84b7451
Fixed compiler warnings
2006-11-16 17:33:39 +00:00
Edin Kadribasic
9f5de3bb5c
Sync with Unix build
2006-10-11 11:00:03 +00:00
Ilia Alshanetsky
b43e18a70e
Make quote() in PostgreSQL use PQescapeByteaConn() whenever possible for
...
binary strings.
2006-10-06 22:34:16 +00:00
Edin Kadribasic
a290cef01c
Added PQescapeStringConn support to windows too
2006-10-05 11:13:31 +00:00
Ilia Alshanetsky
40765184be
Added support for character sets in PDO quote() method for PostgreSQL
...
8.1.4 and higher.
2006-10-04 23:53:36 +00:00
Ilia Alshanetsky
2332e4f9fc
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:45:22 +00:00
Ilia Alshanetsky
7f52671781
Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters).
2006-08-01 16:31:29 +00:00
Edin Kadribasic
bbf97549b8
Remove pecl includes (Steph), except pdo_odbc which will remain broke
2006-05-11 21:43:59 +00:00
Ilia Alshanetsky
79ebfe382b
Fixed memory leaks when working with cursors in PDO PostgreSQL driver.
2006-05-08 14:33:00 +00:00
Wez Furlong
30f98ae77b
set min pdo dep to 1.0.3, which will be the new pecl release
2006-05-02 02:43:11 +00:00
Wez Furlong
7614368f8a
prep for pecl release
2006-05-02 02:32:40 +00:00
Wez Furlong
f83cfb77bf
be aware of PDO_ATTR_EMULATE_PREPARES
2006-04-09 08:17:50 +00:00
Wez Furlong
fb7d5bd780
The fix for #35332 caused #35671 (and thus PECL #6504 ).
...
Partially back out that fix and introduce an extra optional step for drivers to
canonicalize the "name" that is used for registering parameters.
2006-03-27 20:51:01 +00:00
Antony Dovgal
7731dc9421
fix #36727 (segfault in pdo_pgsql bindValue() when no parameters are defined)
2006-03-17 22:15:57 +00:00
Edin Kadribasic
a8dbb0ded6
Be more verbose in phpinfo() output
2006-03-14 10:49:18 +00:00
Edin Kadribasic
c69f100d0e
Fixed build
2006-03-13 11:37:51 +00:00
Derick Rethans
1a170a3de2
- Fixed bug #36382 (PDO/PgSQL's getColumnMeta() crashes).
2006-02-13 15:53:36 +00:00
Ilia Alshanetsky
9b0f4a6234
Fixed bug #36176 (PDO_PGSQL - PDO::exec() does not return number of rows
...
affected by the operation).
2006-01-29 17:35:54 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Marcus Boerger
8479546920
- MFH Fix tests
2005-12-31 17:42:39 +00:00
Marcus Boerger
81c25d8700
- Get rid of compiler warnings (both postgres an dphp use these defines)
2005-12-20 21:10:43 +00:00
Ilia Alshanetsky
f7276af1c6
Fixed compiler warning
2005-12-17 18:26:15 +00:00
Ilia Alshanetsky
c2ed71a879
Retry on failed prepare resulting from duplicate statement name.
2005-12-17 17:59:05 +00:00
Marcus Boerger
5e223ad13b
- Fix TSRM
2005-12-06 21:44:15 +00:00
foobar
3e669bc950
MFH: nuke php3 legacy
2005-12-06 02:28:41 +00:00
Wez Furlong
17683295e4
switch to package2.xml
2005-12-04 22:34:26 +00:00
Ilia Alshanetsky
4e03ce9fc5
Fixed memory leaks
2005-12-01 16:33:01 +00:00
Ilia Alshanetsky
911355bee8
Fixed memory leak
2005-11-30 23:27:15 +00:00
Ilia Alshanetsky
d79e01e211
Fixed compiler warnings
2005-11-29 18:17:46 +00:00
Wez Furlong
40666b6708
proto fixups
2005-11-29 04:06:03 +00:00
Wez Furlong
131033352d
Added PDO::pgsqlLOBCreate(), PDO::pgsqlLOBOpen() and PDO::pgsqlLOBUnlink().
2005-11-29 02:11:39 +00:00
Wez Furlong
85ad81736c
set to 1.0 stable.
2005-11-26 20:50:08 +00:00
foobar
366832fbd2
MFH: Fixed wrong usage of ZEND_EXTENSION_API_NO (these are not Zend exts :)
2005-11-25 16:01:41 +00:00
Wez Furlong
70331c361e
Addresses #35338 .
...
Postgres client API is pretty poor, so we have zero idea about the actual
parameter types in a statement.
We now defer the preparation of a statement until the first call to execute is
made. At that point, we have the parameters defined by the calling script, so
we can use the typing specified there when we perform the prepare.
For PDO_PARAM_LOB parameters, we set the binary formatting flag.
We can't just set this flag for all parameters, because its meaning is not
"string data, counted length" but "data is in native format". If this flag is
set for a numeric column and we send the number 1 formatted as a string, then
we will get an "insufficient data left in message" error message, because the
library was expecting sizeof(int4) bytes but only saw 1 byte for "1".
This is infuriating because we have no way to determine the datatypes for
parameters, and the type we explicitly set has to match the type in the
database. The only choice we're left with is telling postgres to deduce the
type; we still have no idea what type was deduced.
2005-11-25 03:35:04 +00:00
Wez Furlong
b6fe60ab52
prep for PECL release
2005-11-01 03:10:09 +00:00
Ilia Alshanetsky
03418c1d36
Fixed test for ZTS builds
2005-10-18 00:15:02 +00:00
Wez Furlong
c19322869b
use the right macro for these
2005-10-01 19:19:36 +00:00