iliaa Sun Jun 22 12:46:24 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fixed bug #24284 (Fixed memory leak inside pg_ping())
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.276 php4/ext/pgsql/pgsql.c:1.277
--- php4/ext/pgsql/pgsq
helly Fri May 30 15:12:26 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Better fix for default connection handling.
# Problems noticed by Jay with the help of Sascha's nice little script.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pg
helly Fri May 30 12:51:00 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
/php4/ext/pgsql/tests 05large_object.phpt
Log:
Fix handling of default links
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.273 php4/ext/pgsql/pgsql.c:1.2
helly Fri May 30 11:42:46 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
/php4/ext/pgsql/tests 09notice.phpt
Log:
Fix notice handling
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.272 php4/ext/pgsql/pgsql.c:1.273
--- php4/ext/
helly Fri May 30 11:07:02 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c php_pgsql.h
/php4/ext/pgsql/tests 09notice.phpt
Log:
- Fix ini handling in ZTS mode
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.271 php4/ext/pgsql/p
jay Tue Apr 1 18:56:16 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c php_pgsql.h
Log:
Fix 'timestamp without timezone', too.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.268 php4/ext/pgsql/pgsql.c:1.269
--- php4/ext/pgsql/pgsql.c
helly Tue Apr 1 18:34:12 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fix 'time with timezone', too
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.267 php4/ext/pgsql/pgsql.c:1.268
--- php4/ext/pgsql/pgsql.c:1.267Tue Apr 1
jay Tue Apr 1 18:26:11 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fixed bug #23009 (pg_select with timestamp)
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.266 php4/ext/pgsql/pgsql.c:1.267
--- php4/ext/pgsql/pgsql.c:1.266
ddhill Mon Mar 10 15:30:33 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
/php4/ext/standard url_scanner.c url_scanner_ex.c
Log:
Correcting int/long mismatched - 64bit issues.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.265 php
jerenkrantz Thu Feb 20 16:48:59 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Remove C++-style comment. (Breaks Sun Forte compiler.)
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.262 php4/ext/pgsql/pgsql.c:1.263
--- php4/ext/
sniper Thu Feb 20 02:10:07 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fixed bug: #22306 (pg_lo_seek($h, 0, PGSQL_SEEK_SET) succeeds but returns false)
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.261 php4/ext/pgsql/pgsql.c:1.262
jon Mon Feb 10 10:46:47 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Correct the spelling of 'supported'.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.260 php4/ext/pgsql/pgsql.c:1.261
--- php4/ext/pgsql/pgsql.c:1.260
yohgaki Sun Feb 9 02:50:16 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fixed one more improper row offset handling.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.259 php4/ext/pgsql/pgsql.c:1.260
--- php4/ext/pgsql/pgsql.c:1.259
yohgaki Sun Feb 9 02:24:18 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fixed improper result offset handling.
Prevent error when connection is broken. (optional)
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.258 php4/ext/pgsq
iliaa Tue Feb 4 13:34:01 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Made the row parameter in pg_result_seek() non-optional, the current
implementation would result in random behavior if the 2nd argument is not
passed.
Fixed bug #22042 (pg_
yohgaki Wed Jan 15 05:21:15 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fixed proto
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.255 php4/ext/pgsql/pgsql.c:1.256
--- php4/ext/pgsql/pgsql.c:1.255Sat Jan 4 07:33:46 2003
derick Sat Jan 4 07:33:46 2003 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
- Fixed bug #21232 (Unresolved references to PQsetnonblocking). (Patch by
Floyd <[EMAIL PROTECTED]>)
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.254
derick Sat Dec 21 12:48:37 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
MFB: Fix typo
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.252 php4/ext/pgsql/pgsql.c:1.253
--- php4/ext/pgsql/pgsql.c:1.252Mon Dec 16 02:46:36 200
This doesn't look right. You shouldn't be touching this in MINIT/MSHUTDOWN
as they are not per-thread.
Andi
At 07:46 AM 12/16/2002 +, Ilia Alshanetsky wrote:
iliaa Mon Dec 16 02:46:36 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
A better memory leak patch.
iliaa Mon Dec 16 02:46:36 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
A better memory leak patch.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.251 php4/ext/pgsql/pgsql.c:1.252
--- php4/ext/pgsql/pgsql.c:1.251Sun Dec 1
iliaa Sun Dec 15 01:44:31 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fixed a memory leak.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.250 php4/ext/pgsql/pgsql.c:1.251
--- php4/ext/pgsql/pgsql.c:1.250Fri Nov 29 12:18
yohgaki Fri Nov 29 12:18:01 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fixed problem with PostgreSQL 7.3
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.249 php4/ext/pgsql/pgsql.c:1.250
--- php4/ext/pgsql/pgsql.c:1.249Mon
yohgaki Mon Nov 25 21:13:35 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Remove a warning
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.248 php4/ext/pgsql/pgsql.c:1.249
--- php4/ext/pgsql/pgsql.c:1.248Sun Nov 24 20:38:29
yohgaki Sun Nov 24 20:38:30 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Cleanup state=4 and avoid using sscanf()
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.247 php4/ext/pgsql/pgsql.c:1.248
--- php4/ext/pgsql/pgsql.c:1.247
On Sun, 24 Nov 2002, Sterling Hughes wrote:
> > sas Sun Nov 24 11:23:38 2002 EDT
> >
> > Modified files:
> > /php4/ext/pgsql pgsql.c
> > Log:
> > Use proper form of NUL
>
> I was under the assumption that 0 and '\0' were semantically equivalent.
'\0' allows for an implem
> sas Sun Nov 24 11:23:38 2002 EDT
>
> Modified files:
> /php4/ext/pgsql pgsql.c
> Log:
> Use proper form of NUL
I was under the assumption that 0 and '\0' were semantically equivalent.
-Sterling
--
PHP CVS Mailing List (http://www.php.net/)
To uns
sas Sun Nov 24 11:23:38 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Use proper form of NUL
Drop superfluous checks for NULL results
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.246 php4/ext/pgsql/pgsql.c:1.247
--- php4/ex
sterlingSun Nov 24 10:11:43 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
null after the erealloc()
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.245 php4/ext/pgsql/pgsql.c:1.246
--- php4/ext/pgsql/pgsql.c:1.245Sun
At 08:45 24.11.2002, Yasuo Ohgaki wrote:
yohgaki Sun Nov 24 02:45:27 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Added missing '\0'
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.244 php4/ext/pgsql/pgsql.c:1.245
--- php4/ext/pgsql/pgsql.c:1.244
yohgaki Sun Nov 24 02:45:27 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Added missing '\0'
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.244 php4/ext/pgsql/pgsql.c:1.245
--- php4/ext/pgsql/pgsql.c:1.244Tue Nov 12 04:07:3
yohgaki Tue Nov 12 04:07:36 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
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 u
iliaa Tue Nov 5 09:28:32 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fix compile warning.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.242 php4/ext/pgsql/pgsql.c:1.243
--- php4/ext/pgsql/pgsql.c:1.242Thu Oct 24 15:05
derick Sat Oct 19 08:58:41 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
- Style polizei =)
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.240 php4/ext/pgsql/pgsql.c:1.241
--- php4/ext/pgsql/pgsql.c:1.240Sat Oct 19 02:05:1
yohgaki Sat Oct 19 00:01:27 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fixed typo.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.237 php4/ext/pgsql/pgsql.c:1.238
--- php4/ext/pgsql/pgsql.c:1.237Thu Oct 17 19:41:34 2002
yohgaki Sat Oct 19 00:46:19 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Skip field when there is obvious error.
Fixed freeing of wrong zval.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.238 php4/ext/pgsql/pgsql.c:1.239
--- ph
yohgaki Sat Oct 19 02:05:17 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
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 handle
yohgaki Thu Oct 17 03:58:47 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c php_pgsql.h
Log:
Added async message function - pg_get_notify()
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.235 php4/ext/pgsql/pgsql.c:1.236
--- php4/ext/p
yohgaki Sun Oct 13 05:48:19 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fixed proto. Clean up.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.234 php4/ext/pgsql/pgsql.c:1.235
--- php4/ext/pgsql/pgsql.c:1.234Sun Oct 13 05
yohgaki Sun Oct 13 05:41:36 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Need to init connstring when there are 2 args.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.233 php4/ext/pgsql/pgsql.c:1.234
--- php4/ext/pgsql/pgsql.c:1.
yohgaki Sun Oct 13 05:37:27 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c php_pgsql.h
Log:
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 y
yohgaki Sat Oct 12 23:00:49 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c php_pgsql.h
Log:
Enable pg_escape_bytea().
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.231 php4/ext/pgsql/pgsql.c:1.232
--- php4/ext/pgsql/pgsql.c:1.231
yohgaki Wed Oct 2 02:30:41 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fixed pg_escape_typea()
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.229 php4/ext/pgsql/pgsql.c:1.230
--- php4/ext/pgsql/pgsql.c:1.229Wed Oct 2 0
yohgaki Wed Oct 2 02:22:52 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Clean up a little.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.228 php4/ext/pgsql/pgsql.c:1.229
--- php4/ext/pgsql/pgsql.c:1.228Wed Oct 2 00:03:
yohgaki Tue Oct 1 23:16:36 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c php_pgsql.h
Log:
Added pg_data_seek().
pg_result_seek() woudl be better name, but there is mysql_data_seek()...
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1
yohgaki Mon Sep 30 05:07:58 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c php_pgsql.h
Log:
Added pg_fetch_assoc(). Fixed proto. Added/fixed comments.
# It seems last attempt was failed. Try committing again.
Index: php4/ext/pgsql/pgsql.c
diff -u php
yohgaki Mon Sep 30 03:35:41 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
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.
Index: php4/ext/pgsql/pgsql.c
d
yohgaki Mon Sep 30 03:24:42 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Use of PGSQL_CONV_INGORE_NOT_NULL as it is supposed. Change comment a little.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.221 php4/ext/pgsql/pgsql.c:1.22
yohgaki Mon Sep 30 00:15:39 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Fix TODO desc
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.220 php4/ext/pgsql/pgsql.c:1.221
--- php4/ext/pgsql/pgsql.c:1.220Mon Sep 30 00:15:01 20
yohgaki Mon Sep 30 00:15:02 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Remove unused def. Add TODO.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.219 php4/ext/pgsql/pgsql.c:1.220
--- php4/ext/pgsql/pgsql.c:1.219Sun Sep
yohgaki Sun Sep 29 23:51:54 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Improve error message. Fix proto.
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.218 php4/ext/pgsql/pgsql.c:1.219
--- php4/ext/pgsql/pgsql.c:1.218We
50 matches
Mail list logo