Re: broken 'SHOW TABLE'-like query works in 8, not 8.1.1

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Sebastian <buddhahead(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: broken 'SHOW TABLE'-like query works in 8, not 8.1.1
Date: 2005-12-30 22:55:25
Message-ID: 20051230225525.GA14981@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2005-12-30 23:04:33 Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and
Previous Message Bruce Momjian 2005-12-30 22:52:49 Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and