postgresql/contrib/bloom
Tom Lane 4c11d2c559 Flag index metapages as standard-format in xlog.c calls.
btree, hash, and bloom indexes all set up their metapages in standard
format (that is, with pd_lower and pd_upper correctly delimiting the
unused area); but they mostly didn't inform the xlog routines of this.
When calling log_newpage[_buffer], this is bad because it loses the
opportunity to compress unused data out of the WAL record.  When
calling XLogRegisterBuffer, it's not such a performance problem because
all of these call sites also use REGBUF_WILL_INIT, preventing an FPI
image from being written.  But it's still a good idea to provide the
flag when relevant, because that aids WAL consistency checking.

This completes the project of getting all the in-core index AMs to
handle their metapage WAL operations similarly.

Amit Kapila, reviewed by Michael Paquier

Discussion: https://postgr.es/m/0d273805-0e9e-ec1a-cb84-d4da400b8f85@lab.ntt.co.jp
2017-11-03 16:31:32 -04:00
..
expected Add more tests for reloptions 2017-10-19 14:22:05 +02:00
sql Add more tests for reloptions 2017-10-19 14:22:05 +02:00
t Rename WAL-related functions and views to use "lsn" not "location". 2017-05-11 11:49:59 -04:00
.gitignore Bloom index contrib module 2016-04-01 16:42:24 +03:00
Makefile Bloom index contrib module 2016-04-01 16:42:24 +03:00
blcost.c Add optimizer and executor support for parallel index scans. 2017-02-15 13:53:24 -05:00
blinsert.c Flag index metapages as standard-format in xlog.c calls. 2017-11-03 16:31:32 -04:00
bloom--1.0.sql Minor fixes in contrib installation scripts. 2016-06-14 10:47:06 -04:00
bloom.control Bloom index contrib module 2016-04-01 16:42:24 +03:00
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 Fix typo. 2017-10-28 12:04:37 +02:00
blvalidate.c Move some things from builtins.h to new header files 2017-01-20 20:29:53 -05:00