postgresql/contrib
Tom Lane 2fb9fb6614 When using the OSSP UUID library, cache its uuid_t state object.
The original coding in contrib/uuid-ossp created and destroyed a uuid_t
object (or, in some cases, even two of them) each time it was called.
This is not the intended usage: you're supposed to keep the uuid_t object
around so that the library can cache its state across uses.  (Other UUID
libraries seem to keep equivalent state behind-the-scenes in static
variables, but OSSP chose differently.)  Aside from being quite inefficient,
creating a new uuid_t loses knowledge of the previously generated UUID,
which in theory could result in duplicate V1-style UUIDs being created
on sufficiently fast machines.

On at least some platforms, creating a new uuid_t also draws some entropy
from /dev/urandom, leaving less for the rest of the system.  This seems
sufficiently unpleasant to justify back-patching this change.
2014-05-29 13:51:09 -04:00
..
adminpack Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
auth_delay Limit values of archive_timeout, post_auth_delay, auth_delay.milliseconds. 2012-11-18 17:15:11 -05:00
auto_explain Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
btree_gin Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
btree_gist Initialize padding bytes in btree_gist varbit support. 2014-05-13 15:27:21 +03:00
chkpass Prevent potential overruns of fixed-size buffers. 2014-02-17 11:20:27 -05:00
citext Fix contrib/citext's upgrade script to handle array and domain cases. 2012-05-11 15:22:30 -04:00
cube Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:29:05 -04:00
dblink Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
dict_int Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
dict_xsyn Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
dummy_seclabel Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
earthdistance Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
file_fdw Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
fuzzystrmatch Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
hstore Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
intagg Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
intarray Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
isn Fix calculation of ISMN check digit. 2014-01-13 15:44:02 +02:00
lo Defend against bad trigger definitions in contrib/lo's lo_manage() trigger. 2013-11-23 22:46:08 -05:00
ltree Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
oid2name Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
pageinspect Take buffer lock while inspecting btree index pages in contrib/pageinspect. 2012-11-30 17:02:35 -05:00
passwordcheck Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pg_archivecleanup Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
pg_buffercache Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
pg_freespacemap Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
pg_standby Properly check for readdir/closedir() failures 2014-03-21 13:45:11 -04:00
pg_stat_statements Avoid unportable usage of sscanf(UINT64_FORMAT). 2014-05-26 22:23:36 -04:00
pg_test_fsync Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
pg_test_timing Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
pg_trgm Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
pg_upgrade Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
pg_upgrade_support Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pgbench Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
pgcrypto Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
pgrowlocks Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
pgstattuple Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
seg Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:29:05 -04:00
sepgsql Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
spi Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
sslinfo Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
start-scripts Support Linux's oom_score_adj API as well as the older oom_adj API. 2012-06-13 15:35:52 -04:00
tablefunc Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tcn Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
test_parser Fix one-byte buffer overrun in contrib/test_parser. 2012-01-09 19:56:27 -05:00
tsearch2 Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
unaccent Fix some typos 2012-04-22 19:23:47 +03:00
uuid-ossp When using the OSSP UUID library, cache its uuid_t state object. 2014-05-29 13:51:09 -04:00
vacuumlo Make documentation of --help and --version options more consistent 2012-06-18 02:47:53 +03:00
xml2 Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
contrib-global.mk Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
Makefile pg_test_timing utility, to measure clock monotonicity and timing cost. 2012-03-27 16:14:00 -04:00
README Update contrib/README 2012-04-14 09:29:54 +03: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 "gmake all" and "gmake
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.