1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 08:42:29 +01:00
Commit Graph

280 Commits

Author SHA1 Message Date
Ilia Alshanetsky
86b31b56de MFH: Fixed bug #28374 (Possible unterminated loop inside
_php_pgsql_trim_message()).
2004-05-12 16:49:56 +00:00
Ilia Alshanetsky
b5d2a4aa12 MFH: Fixed possible crash inside pg_copy_(to|from) function if delimiter is
more then 1 character long.
2004-04-22 00:32:07 +00:00
Ilia Alshanetsky
5df1e69be1 MFH: Fixed bug #27300 (Improved regex for pg_convert()). 2004-03-18 01:35:50 +00:00
Ilia Alshanetsky
1ca21fdf96 MFH: Fixed bug #27007 (missing connection closure when connect fails in
pgsql)
2004-01-29 02:55:33 +00:00
Ilia Alshanetsky
bea9ba8fc2 MFH: Fixed bug #26864 (pg_(update|delete) ignore PGSQL_DML_EXEC option). 2004-01-11 21:18:29 +00:00
Ilia Alshanetsky
437a1e90c9 MFH: Missing bit for bug #26625. 2003-12-22 15:56:52 +00:00
Ilia Alshanetsky
4d2cdc8224 MFH: Fixed Bug #26625 (pg_convert sets NULL incorrectly for character data
types).
2003-12-16 01:00:45 +00:00
Edin Kadribasic
2d5754d69f Nuke unused local vars 2003-12-11 10:06:12 +00:00
Marcus Boerger
60661a012b Update error/warning messages 2003-12-06 21:28:07 +00:00
Ilia Alshanetsky
67ba3f4c30 MFH: Fixed bug #25963 (PostgreSQL error message include \n characters). 2003-11-25 22:23:54 +00:00
Marcus Boerger
9ec1245550 MFH: Bugfix #25404 2003-09-06 15:31:14 +00:00
Andrey Hristov
0767e6f1e2 MFH : str is string not a long 2003-08-28 21:09:21 +00:00
Ilia Alshanetsky
21af3e8c4e Fixed format errors & warning. 2003-08-28 17:54:03 +00:00
Ilia Alshanetsky
77005be687 MFH: Fixed bug #25109 (Possible crash when fetching field names in pgsql) 2003-08-28 00:33:48 +00:00
Ilia Alshanetsky
903275e887 MFH: Fixed bug #25093 (Various leaks due to non-freed queries) 2003-08-14 17:49:48 +00:00
Ilia Alshanetsky
7ec8b0bcba MFH: memory leak fix 2003-08-05 13:34:20 +00:00
Marcus Boerger
224e070c74 MFH: The value might be a null pointer 2003-07-22 22:06:05 +00:00
Ilia Alshanetsky
d74a72d580 MFH: Fixed bug #24284 (Fixed memory leak inside pg_ping()) 2003-06-22 16:48:16 +00:00
Marcus Boerger
b44ea85296 MFH: Synch latest fixes 2003-05-31 12:59:20 +00:00
Ilia Alshanetsky
582c2462ad MFH 2003-04-25 22:00:17 +00:00
Jay Smith
bd62bcf18b MFH: fix some segfaults in some pg_lo_* functions 2003-04-17 16:55:56 +00:00
Jay Smith
930347763b @- Fixed bug #23009 (pg_select with timestamp). (Marcus, Jay)
MFH
2003-04-02 00:00:09 +00:00
Jay Smith
1548b1ebf4 MFH 2003-04-01 23:28:18 +00:00
foobar
9f34a5beca MFH 2003-03-10 23:13:03 +00:00
Derick Rethans
f27049afb6 - No C++ comments! (Patch by Magnus) 2003-03-09 19:15:16 +00:00
David Hill
45a1a3037a 64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-07 13:42:30 +00:00
foobar
77e48a2801 MFH: Fixed bug: #22306 (pg_lo_seek($h, 0, PGSQL_SEEK_SET) succeeds but returns false) 2003-02-20 07:10:48 +00:00
Yasuo Ohgaki
f834ec6410 MFH 2003-02-09 07:50:31 +00:00
Yasuo Ohgaki
e54ec4b8d2 MFH 2003-02-09 07:24:36 +00:00
Ilia Alshanetsky
16f626702d MFH 2003-02-04 18:34:10 +00:00
Derick Rethans
c71f17295c - MFH: Fixed bug #21232 (Unresolved references to PQsetnonblocking). (Patch by
Floyd <floyd@studiodust.com>)
2003-01-04 12:34:27 +00:00
Sebastian Bergmann
ec46829b38 MFH: Bump year. 2002-12-31 16:37:36 +00:00
Derick Rethans
4de8da30d0 - Fix typo 2002-12-21 17:46:32 +00:00
Ilia Alshanetsky
5b71dbb4e2 MFH (memory leak). 2002-12-16 15:30:51 +00:00
Yasuo Ohgaki
073788340b MFH 2002-11-29 17:19:05 +00:00
Yasuo Ohgaki
a5d3a242d1 MFH 2002-11-26 02:15:58 +00:00
Yasuo Ohgaki
f482ac4011 Speed up pg_escape_bytea, from O(n^2) => O(n). My test script speed up
from 50 sec to 5 sec. (sscanf is too slow at least under my linux, I
might write better function that unescape values later)
Use emalloc/erealloc for bundled PQescapeBytea(php_pgsql_escape_bytea)
2002-11-12 09:07:36 +00:00
Ilia Alshanetsky
41a77bccba Fix compile warning. 2002-11-05 14:28:32 +00:00
Marcus Boerger
15b2e277a4 fix compiler warning 2002-10-24 19:15:40 +00:00
Derick Rethans
8998bce403 - Style polizei =) 2002-10-19 12:58:41 +00:00
Yasuo Ohgaki
572b2a5a5a Revert invalid patch. It seems the real problem is in php error
function(s). It exits with return code -1 when php_error_docref()
is called.

There is custom error handler and without custom error handler,
it is working.
2002-10-19 06:05:16 +00:00
Yasuo Ohgaki
29a53a47f6 Skip field when there is obvious error.
Fixed freeing of wrong zval.
2002-10-19 04:46:19 +00:00
Yasuo Ohgaki
98ab76d23c Fixed typo. 2002-10-19 04:01:27 +00:00
Yasuo Ohgaki
7094b48b23 Added pg_get_pid() 2002-10-17 23:41:34 +00:00
Yasuo Ohgaki
601a507ad6 Added async message function - pg_get_notify() 2002-10-17 07:58:46 +00:00
Yasuo Ohgaki
1917f5f382 Fixed proto. Clean up. 2002-10-13 09:48:18 +00:00
Yasuo Ohgaki
a6de0807ae Need to init connstring when there are 2 args. 2002-10-13 09:41:35 +00:00
Yasuo Ohgaki
2c23e56c7f Introduce connect_type option to pg_connect().
pg_connect(conn_str, conn_type) is allowed.
@Added PGSQL_CONNECT_FORCE_NEW option to pg_connect() (Yasuo)
# If you have better idea about constant name(s), let me know.
2002-10-13 09:37:27 +00:00
Yasuo Ohgaki
6edd9d2f72 Enable pg_escape_bytea(). 2002-10-13 03:00:48 +00:00
Yasuo Ohgaki
1b675aa690 Rename pg_data_seek() to pg_result_seek().
Added mysql_result_seek() which is alias of mysql_data_seek().
2002-10-03 02:32:09 +00:00