Hello,
> the problem is produced by the 'Use declare fetch' option. If it
> is unchecked the SQL explorer works OK. Otherwise, if it's checked
> each table appears a few times, depending on the number of tables
> in the database.
Not so exactly. It depend on the number of tables _and_ cache size
parametr. The problem is in fetching all rows in PGAPI_Tables
but excepting only "cache size" entries in PGAPI_ExtendedFetch.
I attach one line patch. Try it and report next problems.
Best regards,
Luf