postgres/contrib/bloom
Tom Lane 76e2b5ae41 Fix errors in contrib/bloom index build.
Count the number of tuples in the index honestly, instead of assuming
that it's the same as the number of tuples in the heap.  (It might be
different if the index is partial.)

Fix counting of tuples in current index page, too.  This error would
have led to failing to write out the final page of the index if it
contained exactly one tuple, so that the last tuple of the relation
would not get indexed.

Back-patch to 9.6 where contrib/bloom was added.

Tomas Vondra and Tom Lane

Discussion: https://postgr.es/m/3b3d8eac-c709-0d25-088e-b98339a1b28a@2ndquadrant.com
2018-03-22 13:13:58 -04:00
..
expected Fix contrib/bloom to work for unlogged indexes. 2016-05-24 21:04:35 -04:00
sql Fix contrib/bloom to work for unlogged indexes. 2016-05-24 21:04:35 -04:00
t Tighten test in contrib/bloom/t/001_wal.pl. 2017-11-10 12:30:06 -05:00
.gitignore
blcost.c Add optimizer and executor support for parallel index scans. 2017-02-15 13:53:24 -05:00
blinsert.c Fix errors in contrib/bloom index build. 2018-03-22 13:13:58 -04:00
bloom--1.0.sql Minor fixes in contrib installation scripts. 2016-06-14 10:47:06 -04:00
bloom.control
bloom.h Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
blscan.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
blutils.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
blvacuum.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
blvalidate.c Move some things from builtins.h to new header files 2017-01-20 20:29:53 -05:00
Makefile