postgresql/contrib/bloom
Tom Lane ed0097e4f9 Add SQL-accessible functions for inspecting index AM properties.
Per discussion, we should provide such functions to replace the lost
ability to discover AM properties by inspecting pg_am (cf commit
65c5fcd35).  The added functionality is also meant to displace any code
that was looking directly at pg_index.indoption, since we'd rather not
believe that the bit meanings in that field are part of any client API
contract.

As future-proofing, define the SQL API to not assume that properties that
are currently AM-wide or index-wide will remain so unless they logically
must be; instead, expose them only when inquiring about a specific index
or even specific index column.  Also provide the ability for an index
AM to override the behavior.

In passing, document pg_am.amtype, overlooked in commit 473b93287.

Andrew Gierth, with kibitzing by me and others

Discussion: <87mvl5on7n.fsf@news-spur.riddles.org.uk>
2016-08-13 18:31:14 -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 Finish pgindent run for 9.6: Perl files. 2016-06-12 04:19:56 -04:00
.gitignore Bloom index contrib module 2016-04-01 16:42:24 +03:00
blcost.c Bloom index contrib module 2016-04-01 16:42:24 +03:00
blinsert.c pgindent run for 9.6 2016-06-09 18:02:36 -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 pgindent run for 9.6 2016-06-09 18:02:36 -04:00
blscan.c Measure Bloom index signature-length reloption in bits, not words. 2016-06-03 10:52:45 -04:00
blutils.c Add SQL-accessible functions for inspecting index AM properties. 2016-08-13 18:31:14 -04:00
blvacuum.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
blvalidate.c 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