Menu

#93 db_pgsql.inc problems

current_CVS
open
nobody
DB_SQL (15)
5
2002-07-08
2002-07-08
No

Received via email from Oliver Duke-Williams:

I've spotted a couple of problems with the pgsql class
in phplib that
are present in both the php-lib and php-lib-stable CVS
branches.

i) The halt() function does not call haltmsg() as
descibed in the
documentation; I've modified my db_pgslq.inc by copying
relevant parts
of the mysql code and can send a diff if you like. In
addition, the
current function does not respect the value of
Halt_On_Error and
requires modification.

ii) The metadata() function is slow for large tables;
performance can be
improved by modifying the function to use "select *
from $table limit 0"
in the pg_exec call.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.