db_pgsql.inc problems
Brought to you by:
nhruby,
richardarcher
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.