Solution for ZEOS 6.6.6 with >= FPC2.5.x
Moderators: gto, EgonHugeist
last working fast revision is 905. 906 is slow
diff:
diff:
Code: Select all
--- C:/Users/sem/AppData/Local/Temp/ZDbcPostgreSqlMetadata.pas-rev905.svn000.tmp.pas Вт янв 19 02:06:36 2010
+++ C:/Users/sem/AppData/Local/Temp/ZDbcPostgreSqlMetadata.pas-rev906.svn000.tmp.pas Пт авг 12 01:10:23 2011
@@ -1958,7 +1958,9 @@
begin
SQL := SQL + ' AND n.nspname LIKE '
+ EscapeString(SchemaPattern);
- end;
+ end else begin
+ SQL := SQL + ' AND pg_table_is_visible (c.oid) ';
+ end;
end
else
begin
i just comment this strings
and query works 7 times faster, thanks all for help ))
Code: Select all
end else begin
SQL := SQL + ' AND pg_table_is_visible (c.oid) ';
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
sem-evgen,
thank you for your help and sorry for the many mistakes in previous posts. Writing english with a german smartphone.. (:
I made a full testrun with our suites. No issues to see. Patch applied Rev. 2057 \testing (SVN) in trunk and testing-7.1 next week.
thank you for your help and sorry for the many mistakes in previous posts. Writing english with a german smartphone.. (:
I made a full testrun with our suites. No issues to see. Patch applied Rev. 2057 \testing (SVN) in trunk and testing-7.1 next week.
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/