1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Commit Graph

345 Commits

Author SHA1 Message Date
Marcus Boerger
40acbc1ea5 MFH: Do not test postgres settings 2003-06-30 18:00:55 +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
651d262d43 Fix the fix 2003-05-31 15:10:03 +00:00
Marcus Boerger
22a9c4d448 Use ZE1 notation as expected result 2003-05-31 14:50:10 +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
SVN Migration
e3718c88b2 This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. 2002-11-14 21:09:42 +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
5693bd4cdf Added tests for new functions 2002-10-18 07:52:09 +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
Yasuo Ohgaki
2300bddb9c Fixed pg_escape_typea() 2002-10-02 06:30:40 +00:00
Yasuo Ohgaki
520486e8b1 Clean up a little. 2002-10-02 06:22:52 +00:00
Yasuo Ohgaki
69957c56b3 Added pg_unescape_bytea(). Fixed pg_data_seek().
php_pgsql_unescape_bytea(PQunescapeBytea) is shamelessly stolen from PostgreSQL 7.3 :)
2002-10-02 04:03:21 +00:00
Yasuo Ohgaki
2745e8b9b2 Add some example functions for mysql users. 2002-10-02 03:32:27 +00:00
Yasuo Ohgaki
b8fdd3c7ae Added pg_data_seek().
pg_result_seek() woudl be better name, but there is mysql_data_seek()...
2002-10-02 03:16:35 +00:00
Yasuo Ohgaki
2728440fdc Added pg_ping() 2002-10-02 02:41:21 +00:00
Yasuo Ohgaki
f8f11ac0a2 Rename pg_metadata() to pg_meta_data() to confirm naming standard 2002-10-02 02:11:27 +00:00
Yasuo Ohgaki
545f894524 Added pg_fetch_assoc(). Fixed proto. Added/fixed comments.
# It seems last attempt was failed. Try committing again.
2002-09-30 09:07:57 +00:00
Yasuo Ohgaki
5a6703484d Use PGSQL_CONV_FORCE_NULL as it is supposed.
PGSQL_CONV_FORCE_NULL inserts NULL to field instead of
NULL string for string type tuples.
2002-09-30 07:35:41 +00:00
Yasuo Ohgaki
788e4070b6 Use of PGSQL_CONV_INGORE_NOT_NULL as it is supposed. Change comment a little. 2002-09-30 07:24:41 +00:00
Yasuo Ohgaki
dbd1a45d70 Fix TODO desc 2002-09-30 04:15:39 +00:00
Yasuo Ohgaki
b7d1a58e25 Remove unused def. Add TODO. 2002-09-30 04:15:01 +00:00