Re: Strange runtime partition pruning behaviour with 11.4

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Strange runtime partition pruning behaviour with 11.4
Date: 2019-08-03 14:06:57
Message-ID: 9c55d578-bb70-d439-6450-abc291957ec3@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> it's posible to rewrite the query to:
>
>
> test=# explain analyse select count(*) from foo_bar_baz as fbb where foo_id = (select foo_id from foo where foo_name = 'eeny');
>
> I know, that's not a solution, but a workaround. :-(

Yes, I discovered that as well.

But I'm more confused (or concerned) by the fact that the (original) query works correctly *without* statistics.

Thomas

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andreas Kretschmer 2019-08-03 15:18:19 Re: Strange runtime partition pruning behaviour with 11.4
Previous Message Andreas Kretschmer 2019-08-03 13:42:55 Re: Strange runtime partition pruning behaviour with 11.4