postgresql/contrib
Tom Lane 80a5cf643a Improve contrib/pg_trgm's heuristics for regexp index searches.
When extracting trigrams from a regular expression for search of a GIN or
GIST trigram index, it's useful to penalize (preferentially discard)
trigrams that contain whitespace, since those are typically far more common
in the index than trigrams not containing whitespace.  Of course, this
should only be a preference not a hard rule, since we might otherwise end
up with no trigrams to search for.  The previous coding tended to produce
fairly inefficient trigram search sets for anchored regexp patterns, as
reported by Erik Rijkers.  This patch penalizes whitespace-containing
trigrams, and also reduces the target number of extracted trigrams, since
experience suggests that the original coding tended to select too many
trigrams to search for.

Alexander Korotkov, reviewed by Tom Lane
2014-04-05 20:48:47 -04:00
..
adminpack
auth_delay
auto_explain auto_explain: Add logging of trigger execution 2014-03-04 15:31:18 -03:00
btree_gin
btree_gist
chkpass Prevent potential overruns of fixed-size buffers. 2014-02-17 11:20:21 -05:00
citext Remove dependency on database encoding in citext regression test. 2014-02-27 14:58:47 -05:00
cube
dblink
dict_int
dict_xsyn
dummy_seclabel
earthdistance
file_fdw Provide a FORCE NULL option to COPY in CSV mode. 2014-03-04 17:31:59 -05:00
fuzzystrmatch
hstore De-anonymize the union in JsonbValue. 2014-04-02 14:30:08 -04:00
intagg
intarray Predict integer overflow to avoid buffer overruns. 2014-02-17 09:33:31 -05:00
isn
lo
ltree Predict integer overflow to avoid buffer overruns. 2014-02-17 09:33:31 -05:00
oid2name Centralize getopt-related declarations in a new header file pg_getopt.h. 2014-02-15 14:31:30 -05:00
pageinspect pageinspect: Use new pg_lsn datatype. 2014-03-03 07:15:04 -05:00
passwordcheck
pg_archivecleanup Remove MinGW readdir/errno bug workaround fixed on 2003-10-10 2014-03-21 13:47:37 -04:00
pg_buffercache
pg_freespacemap
pg_prewarm
pg_standby Remove MinGW readdir/errno bug workaround fixed on 2003-10-10 2014-03-21 13:47:37 -04:00
pg_stat_statements Prefer pg_any_to_server/pg_server_to_any over pg_do_encoding_conversion. 2014-02-23 16:59:05 -05:00
pg_test_fsync pg_test_fsync: add C comment about direct I/O and write size failure 2014-02-12 15:38:29 -05:00
pg_test_timing
pg_trgm Improve contrib/pg_trgm's heuristics for regexp index searches. 2014-04-05 20:48:47 -04:00
pg_upgrade Revert "Secure Unix-domain sockets of "make check" temporary clusters." 2014-03-29 03:12:00 -04:00
pg_upgrade_support
pg_xlogdump Use pg_usleep() instead of plain sleep(), to fix Windows build 2014-03-26 15:25:39 +02:00
pgbench pgbench: Fix help message 2014-02-27 21:52:21 -05:00
pgcrypto Fix typos in comments. 2014-03-17 20:47:28 +09:00
pgrowlocks
pgstattuple
postgres_fdw Fix non-equivalence of VARIADIC and non-VARIADIC function call formats. 2014-04-03 22:02:24 -04:00
seg
sepgsql Fix typo in comment. 2014-04-01 09:27:37 +03:00
spi
sslinfo Prefer pg_any_to_server/pg_server_to_any over pg_do_encoding_conversion. 2014-02-23 16:59:05 -05:00
start-scripts
tablefunc
tcn
test_decoding test_decoding: Update .gitignore 2014-03-31 14:18:35 -04:00
test_parser
test_shm_mq test_shm_mq: Improve regression tests. 2014-03-20 08:48:22 -04:00
tsearch2
unaccent
uuid-ossp
vacuumlo Centralize getopt-related declarations in a new header file pg_getopt.h. 2014-02-15 14:31:30 -05:00
worker_spi Fix some more bugs in signal handlers and process shutdown logic. 2014-02-01 16:21:23 -05:00
xml2
contrib-global.mk
Makefile Introduce logical decoding. 2014-03-03 16:32:18 -05:00
README Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00

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.