Re: Comment in ginpostinglist.c doesn't match code
Ashwin Agrawal <aagrawal@pivotal.io>
From: Ashwin Agrawal <aagrawal@pivotal.io>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>,
Alexander Korotkov <aekorotkov@gmail.com>,
Adam Berlin <aberlin@pivotal.io>, Alexandra Wang <lewang@pivotal.io>
Date: 2019-08-22T22:05:08Z
Lists: pgsql-hackers
On Thu, Aug 22, 2019 at 1:14 AM Heikki Linnakangas <hlinnaka@iki.fi> wrote: > > The patch also includes a little unit test module to test this without > creating a 16 TB table. A whole new test module seems a bit like > overkill just for this, but clearly we were missing test coverage here. > And it will come handy, if we want to invent a new better posting list > format in the future. Thoughts on whether to include the test module or > not? > I like the test as importantly adds missing coverage. Also, really simplifies validation effort if required to make change in this area anytime in future. So, I would +1 keeping the same.
Commits
-
Fix overflow check and comment in GIN posting list encoding.
- 7561782320f7 10.11 landed
- 6292cde1c557 9.4.25 landed
- cf00ca52288d 9.5.20 landed
- e2e616579a15 9.6.16 landed
- 1c99acc6ebbf 11.6 landed
- 6b7819a0bd01 12.0 landed
- bde7493d1089 13.0 landed