Re: broken 'SHOW TABLE'-like query works in 8, not 8.1.1 - Mailing list pgsql-hackers

From Michael Fuhr
Subject Re: broken 'SHOW TABLE'-like query works in 8, not 8.1.1
Date
Msg-id 20051230225525.GA14981@winnie.fuhr.org
Whole thread Raw
In response to Re: broken 'SHOW TABLE'-like query works in 8, not 8.1.1  (Michael Fuhr <mike@fuhr.org>)
Responses Re: broken 'SHOW TABLE'-like query works in 8, not 8.1.1
List pgsql-hackers
On Fri, Dec 30, 2005 at 11:02:20AM -0700, Michael Fuhr wrote:
> On Fri, Dec 30, 2005 at 03:15:03AM -0500, Sebastian wrote:
> > Any ideas for a temporary work around?
> 
> You could try querying the system catalogs directly instead of using
> the information_schema views;

You could also set enable_nestloop to off for your original query.
Now that EXPLAIN is fixed it looks like 8.1.1 is choosing a nested
loop where a hash join is actually much faster.

-- 
Michael Fuhr


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and
Next
From: Greg Stark
Date:
Subject: Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and