Re: postgresql 10.1 wrong plan in when using partitions bug
Rick Otten <rottenwindfish@gmail.com>
From: Rick Otten <rottenwindfish@gmail.com>
To: legrand legrand <legrand_legrand@hotmail.com>
Cc: "pgsql-performa." <pgsql-performance@postgresql.org>
Date: 2018-02-04T13:38:46Z
Lists: pgsql-performance
On Sun, Feb 4, 2018 at 8:19 AM, legrand legrand <legrand_legrand@hotmail.com > wrote: > What is the value of guc constrain_exclusion ? > > > In my use case, which is a big union all behind a view, setting this to off, on, or partition makes no difference. It still sequence scans all of the sub-tables in pg 10.1 whereas it used the indexes in 9.6.