postgresql/contrib
Peter Eisentraut 604bd36711 PG_FINALLY
This gives an alternative way of catching exceptions, for the common
case where the cleanup code is the same in the error and non-error
cases.  So instead of

    PG_TRY();
    {
        ... code that might throw ereport(ERROR) ...
    }
    PG_CATCH();
    {
        cleanup();
	PG_RE_THROW();
    }
    PG_END_TRY();
    cleanup();

one can write

    PG_TRY();
    {
        ... code that might throw ereport(ERROR) ...
    }
    PG_FINALLY();
    {
        cleanup();
    }
    PG_END_TRY();

Discussion: https://www.postgresql.org/message-id/flat/95a822c3-728b-af0e-d7e5-71890507ae0c%402ndquadrant.com
2019-11-01 11:18:03 +01:00
..
adminpack Update copyright for 2019 2019-01-02 12:44:25 -05:00
amcheck amcheck: Skip unlogged relations during recovery. 2019-08-12 15:21:32 -07:00
auth_delay Update copyright for 2019 2019-01-02 12:44:25 -05:00
auto_explain PG_FINALLY 2019-11-01 11:18:03 +01:00
bloom Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
btree_gin Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
btree_gist Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
citext Fix typos in various places 2019-06-03 13:44:03 +09:00
cube Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
dblink PG_FINALLY 2019-11-01 11:18:03 +01:00
dict_int Update copyright for 2019 2019-01-02 12:44:25 -05:00
dict_xsyn Update copyright for 2019 2019-01-02 12:44:25 -05:00
earthdistance Fix earthdistance test suite function name typo. 2018-07-29 12:02:07 -07:00
file_fdw Represent Lists as expansible arrays, not chains of cons-cells. 2019-07-15 13:41:58 -04:00
fuzzystrmatch Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
hstore Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
hstore_plperl Clean up PL/Perl's handling of the _() macro. 2019-06-02 12:23:39 -04:00
hstore_plpython PG_FINALLY 2019-11-01 11:18:03 +01:00
intagg Schema-qualify some references to regprocedure. 2016-06-10 10:41:58 -04:00
intarray Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
isn Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
jsonb_plperl Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
jsonb_plpython PG_FINALLY 2019-11-01 11:18:03 +01:00
lo lo: Add test suite 2017-09-14 22:22:59 -04:00
ltree Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
ltree_plpython Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
oid2name Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
pageinspect Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
passwordcheck Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
pg_buffercache Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
pg_freespacemap Replace heapam.h includes with {table, relation}.h where applicable. 2019-01-21 10:51:37 -08:00
pg_prewarm Fix more typos and inconsistencies in the tree 2019-06-17 16:13:16 +09:00
pg_standby Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
pg_stat_statements PG_FINALLY 2019-11-01 11:18:03 +01:00
pg_trgm PG_FINALLY 2019-11-01 11:18:03 +01:00
pg_visibility Speedup truncations of relation forks. 2019-09-24 17:31:26 +09:00
pgcrypto Fix typos in the code 2019-10-30 10:03:00 +09:00
pgrowlocks Only allow heap in a number of contrib modules. 2019-04-01 14:57:21 -07:00
pgstattuple Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
postgres_fdw PG_FINALLY 2019-11-01 11:18:03 +01:00
seg Change floating-point output format for improved performance. 2019-02-13 15:20:33 +00:00
sepgsql PG_FINALLY 2019-11-01 11:18:03 +01:00
spi Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
sslinfo Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
start-scripts Remove contrib/start-scripts/osx/. 2017-11-17 12:53:20 -05:00
tablefunc Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
tcn Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
test_decoding Message style fixes 2019-09-23 13:38:39 +02:00
tsm_system_rows Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
tsm_system_time Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
unaccent Update unicode.org URLs 2019-10-13 22:10:38 +02:00
uuid-ossp Update copyright for 2019 2019-01-02 12:44:25 -05:00
vacuumlo Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
xml2 Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
Makefile Transforms for jsonb to PL/Perl 2018-04-03 09:47:18 -04:00
README Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
contrib-global.mk Respect TEMP_CONFIG when pg_regress_check and friends are called 2016-02-27 12:28:21 -05: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.