the attached patch addresses the performance issues of the
authorization related views from information_schema (BUG #4596). It
implements what Tom suggests in
In the cases that I have tested both the new and the old view return
the same data but I'd appreciate more tests. The patch currently does
not remove the original views but renames them from xyz to old_xyz, so
you can run your own tests of the new view definition vs. the old one.
I also include a psql file that might help you testing.
Description: application/octet-stream (2.9 KB)
pgsql-hackers by date
|Next:||From: Herodotos Herodotou||Date: 2009-09-24 23:49:35|
|Subject: Re: Join optimization for inheritance tables|
|Previous:||From: Tom Lane||Date: 2009-09-24 21:54:59|
|Subject: Re: plpgsql function is so slow |