postgresql/contrib
Tom Lane abaffa9075 Fix contrib/bloom to work for unlogged indexes.
blbuildempty did not do even approximately the right thing: it tried
to add a metapage to the relation's regular data fork, which already
has one at that point.  It should look like the ambuildempty methods
for all the standard index types, ie, initialize a metapage image in
some transient storage and then write it directly to the init fork.
To support that, refactor BloomInitMetapage into two functions.

In passing, fix BloomInitMetapage so it doesn't leave the rd_options
field of the index's relcache entry pointing at transient storage.
I'm not sure this had any visible consequence, since nothing much
else is likely to look at a bloom index's rd_options, but it's
certainly poor practice.

Per bug #14155 from Zhou Digoal.

Report: <20160524144146.22598.42558@wrigleys.postgresql.org>
2016-05-24 21:04:35 -04:00
..
adminpack
auth_delay Update copyright for 2016 2016-01-02 14:19:48 -05:00
auto_explain Rename auto_explain.sample_ratio to sample_rate 2016-03-13 13:18:03 +01:00
bloom Fix contrib/bloom to work for unlogged indexes. 2016-05-24 21:04:35 -04:00
btree_gin
btree_gist Ensure plan stability in contrib/btree_gist regression test. 2016-05-12 20:04:38 -04:00
chkpass
citext
cube Fix assorted inconsistencies in GiST opclass support function declarations. 2016-01-19 12:04:36 -05:00
dblink Revert CREATE INDEX ... INCLUDING ... 2016-04-08 21:52:13 +03:00
dict_int
dict_xsyn
earthdistance
file_fdw Don't require a user mapping for FDWs to work. 2016-03-28 21:50:28 -04:00
fuzzystrmatch Remove new coupling between NAMEDATALEN and MAX_LEVENSHTEIN_STRLEN. 2016-01-22 11:53:06 -05:00
hstore Make hstore_to_jsonb_loose match hstore_to_json_loose on what's a number. 2016-02-03 12:04:02 -05:00
hstore_plperl Use LOAD not actual code execution to pull in plpython library. 2016-01-11 20:06:36 -05:00
hstore_plpython Use LOAD not actual code execution to pull in plpython library. 2016-01-11 20:06:36 -05:00
intagg
intarray Fix assorted inconsistencies in GIN opclass support function declarations. 2016-01-19 22:32:22 -05:00
isn
lo
ltree ltree: Zero padding bytes when allocating memory for externally visible data. 2016-03-08 14:59:29 -08:00
ltree_plpython Use LOAD not actual code execution to pull in plpython library. 2016-01-11 20:06:36 -05:00
oid2name
pageinspect Tweak a few more things in preparation for upcoming pgindent run. 2016-05-03 10:52:25 -04:00
passwordcheck
pg_buffercache Allow Pin/UnpinBuffer to operate in a lockfree manner. 2016-04-10 20:12:32 -07:00
pg_freespacemap
pg_prewarm
pg_standby
pg_stat_statements Widen query numbers-of-tuples-processed counters to uint64. 2016-03-12 16:05:29 -05:00
pg_trgm Various minor corrections of and improvements to comments. 2016-03-18 09:38:59 -04:00
pg_visibility Revert no-op changes to BufferGetPage() 2016-04-20 08:31:19 -05:00
pgcrypto Fix typos. 2016-03-15 18:06:11 -04:00
pgrowlocks
pgstattuple Remove unused macros. 2016-05-02 10:07:49 +03:00
postgres_fdw postgres_fdw: Fix the fix for crash when pushing down multiple joins. 2016-05-16 11:28:28 -04:00
seg Revert "Convert contrib/seg's bool-returning SQL functions to V1 call convention." 2016-04-28 11:46:07 -04:00
sepgsql Don't use !! but != 0/NULL to force boolean evaluation. 2016-03-27 18:10:19 +02:00
spi Widen query numbers-of-tuples-processed counters to uint64. 2016-03-12 16:05:29 -05:00
sslinfo
start-scripts
tablefunc Widen query numbers-of-tuples-processed counters to uint64. 2016-03-12 16:05:29 -05:00
tcn Revert CREATE INDEX ... INCLUDING ... 2016-04-08 21:52:13 +03:00
test_decoding Fix core dump in ReorderBufferRestoreChange on alignment-picky platforms. 2016-04-14 19:42:21 -04:00
tsearch2 Fix output of regression test of contrib/tsearch2 2016-04-08 20:37:12 +03:00
tsm_system_rows
tsm_system_time
unaccent fix typo in comment 2016-03-16 17:18:14 +03:00
uuid-ossp
vacuumlo
xml2 Widen query numbers-of-tuples-processed counters to uint64. 2016-03-12 16:05:29 -05:00
contrib-global.mk Respect TEMP_CONFIG when pg_regress_check and friends are called 2016-02-27 12:28:21 -05:00
Makefile Bloom index contrib module 2016-04-01 16:42:24 +03:00
README

The PostgreSQL contrib tree
---------------------------

This subtree contains porting tools, analysis utilities, and plug-in
features that are not part of the core PostgreSQL system, mainly
because they address a limited audience or are too experimental to be
part of the main source tree.  This does not preclude their
usefulness.

User documentation for each module appears in the main SGML
documentation.

When building from the source distribution, these modules are not
built automatically, unless you build the "world" target.  You can
also build and install them all by running "make all" and "make
install" in this directory; or to build and install just one selected
module, do the same in that module's subdirectory.

Some directories supply new user-defined functions, operators, or
types.  To make use of one of these modules, after you have installed
the code you need to register the new SQL objects in the database
system by executing a CREATE EXTENSION command.  In a fresh database,
you can simply do

    CREATE EXTENSION module_name;

See the PostgreSQL documentation for more information about this
procedure.