Re: [PG19] eager aggregation gives wrong results because of bpchar_ops - Mailing list pgsql-hackers

From shihao zhong
Subject Re: [PG19] eager aggregation gives wrong results because of bpchar_ops
Date
Msg-id CAGRkXqTaqTXVewC6+MddROyipeAWYg6kDkQgg6jCYXTr=zJBxw@mail.gmail.com
Whole thread
In response to Re: [PG19] eager aggregation gives wrong results because of bpchar_ops  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi Peter,

> Something like the attached seems like it'd do the job.

I tried it. I took a pg_dumpall from a 13 cluster after the
regression tests, ran 002_pg_upgrade.pl on master with it, and then
ran amcheck on the upgraded cluster. Without the patch amcheck
complains with the following. With the patch it is clean.

`ERROR:  index "ctl_bpchar" metapage incorrectly indicates that deduplication is safe`

Thanks,
Shihao

pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: pgsql: Teach expr_is_nonnullable() to handle more expression types
Next
From: Michael Paquier
Date:
Subject: Re: Fix reindexdb with parallel index-level conrurrent run