PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID16111
PG Version
Opened2019-11-13 13:41:14+00
Reported by

Body of first available message related to this bug follows.

On Wed, Nov 13, 2019 at 10:42:32AM +0000, PG Bug reporting form wrote:
>The following bug has been logged on the website:
>Bug reference:      16111
>Logged by:          Tuomas Leikola
>Email address:      (redacted)
>PostgreSQL version: 12.0
>Operating system:   windows, linux
>I’ve been trying to cook up some kind of online reorganizer, which requires
>looking at rows’ physical locations and rearranging those that are
>suboptimal. In this endeavor, I stumbled on what appears to be a compiler
>bug introduced with multivariate statistics.

Yeah, this is a bug in estimate_multivariate_ndistinct, which fails to
ignore system attributes :-(

The attached patch fixes it, but unfortunatly we've missed this round of
minor releases :-( I'll get it pushed in a couple of days.

Thanks for the report and the reproducer, very helpful!


Tomas Vondra        
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


2019-11-13 13:41:14+00Tomas VondraRe: BUG #16111: Unexpected query compilation error =?utf-8?B?4oCc?= =?utf-8?Q?negative_bitmapset_member_not_allowed=E2=80=9D?=
2019-11-16 01:36:42+00Tomas VondraRe: BUG #16111: Unexpected query compilation error =?utf-8?B?4oCc?= =?utf-8?Q?negative_bitmapset_member_not_allowed=E2=80=9D?=
2019-12-05 00:38:23+00Justin PryzbyRe: BUG #16111: Unexpected =?utf-8?Q?query?= =?utf-8?Q?_compilation_error_=E2=80=9Cnegative_bitmapset_member_not_allow?= =?utf-8?B?ZWTigJ0=?=