2010-09-21 00:08:53 +04:00
|
|
|
# contrib/Makefile
|
2000-06-15 22:55:34 +04:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
subdir = contrib
|
|
|
|
top_builddir = ..
|
2000-09-19 00:11:37 +04:00
|
|
|
include $(top_builddir)/src/Makefile.global
|
2000-06-15 22:55:34 +04:00
|
|
|
|
2009-08-08 00:50:22 +04:00
|
|
|
SUBDIRS = \
|
2006-05-30 17:25:57 +04:00
|
|
|
adminpack \
|
Add amcheck extension to contrib.
This is the beginning of a collection of SQL-callable functions to
verify the integrity of data files. For now it only contains code to
verify B-Tree indexes.
This adds two SQL-callable functions, validating B-Tree consistency to
a varying degree. Check the, extensive, docs for details.
The goal is to later extend the coverage of the module to further
access methods, possibly including the heap. Once checks for
additional access methods exist, we'll likely add some "dispatch"
functions that cover multiple access methods.
Author: Peter Geoghegan, editorialized by Andres Freund
Reviewed-By: Andres Freund, Tomas Vondra, Thomas Munro,
Anastasia Lubennikova, Robert Haas, Amit Langote
Discussion: CAM3SWZQzLMhMwmBqjzK+pRKXrNUZ4w90wYMUWfkeV8mZ3Debvw@mail.gmail.com
2017-03-10 02:50:40 +03:00
|
|
|
amcheck \
|
2010-11-27 15:22:25 +03:00
|
|
|
auth_delay \
|
2008-11-19 05:59:28 +03:00
|
|
|
auto_explain \
|
2022-02-03 21:57:27 +03:00
|
|
|
basic_archive \
|
2022-03-15 20:24:23 +03:00
|
|
|
basebackup_to_shell \
|
2016-04-01 16:42:24 +03:00
|
|
|
bloom \
|
2009-03-26 02:20:01 +03:00
|
|
|
btree_gin \
|
2001-08-22 22:27:54 +04:00
|
|
|
btree_gist \
|
2008-07-29 22:31:20 +04:00
|
|
|
citext \
|
2000-12-11 23:40:59 +03:00
|
|
|
cube \
|
2001-06-18 21:20:56 +04:00
|
|
|
dblink \
|
2007-10-16 01:36:50 +04:00
|
|
|
dict_int \
|
|
|
|
dict_xsyn \
|
2003-06-30 23:58:57 +04:00
|
|
|
earthdistance \
|
2011-02-20 22:06:59 +03:00
|
|
|
file_fdw \
|
2001-08-22 22:27:54 +04:00
|
|
|
fuzzystrmatch \
|
2006-09-09 08:07:52 +04:00
|
|
|
hstore \
|
2002-08-30 05:44:00 +04:00
|
|
|
intagg \
|
2001-01-16 01:20:00 +03:00
|
|
|
intarray \
|
2006-09-09 08:07:52 +04:00
|
|
|
isn \
|
2001-02-10 15:07:12 +03:00
|
|
|
lo \
|
2002-07-30 20:40:34 +04:00
|
|
|
ltree \
|
2001-02-10 06:44:06 +03:00
|
|
|
oid2name \
|
2020-09-24 20:55:47 +03:00
|
|
|
old_snapshot \
|
2007-05-17 23:11:25 +04:00
|
|
|
pageinspect \
|
2009-11-19 00:57:56 +03:00
|
|
|
passwordcheck \
|
2005-03-12 18:36:24 +03:00
|
|
|
pg_buffercache \
|
2006-02-12 06:55:53 +03:00
|
|
|
pg_freespacemap \
|
2013-12-20 17:08:01 +04:00
|
|
|
pg_prewarm \
|
2009-01-05 01:19:59 +03:00
|
|
|
pg_stat_statements \
|
New contrib module, pg_surgery, with heap surgery functions.
Sometimes it happens that the visibility information for a tuple
becomes corrupted, either due to bugs in the database software or
external factors. Provide a function heap_force_kill() that can
be used to truncate such dead tuples to dead line pointers, and
a function heap_force_freeze() that can be used to overwrite the
visibility information in such a way that the tuple becomes
all-visible.
These functions are unsafe, in that you can easily use them to
corrupt a database that was not previously corrupted, and you can
use them to further corrupt an already-corrupted database or to
destroy data. The documentation accordingly cautions against
casual use. However, in some cases they permit recovery of data
that would otherwise be very difficult to recover, or to allow a
system to continue to function when it would otherwise be difficult
to do so.
Because we may want to add other functions for performing other
kinds of surgery in the future, the new contrib module is called
pg_surgery rather than something specific to these functions. I
proposed back-patching this so that it could be more easily used
by people running existing releases who are facing these kinds of
problems, but that proposal did not attract enough support, so
no back-patch for now.
Ashutosh Sharma, reviewed and tested by Andrey M. Borodin,
M. Beena Emerson, Masahiko Sawada, Rajkumar Raghuwanshi,
Asim Praveen, and Mark Dilger, and somewhat revised by me.
Discussion: http://postgr.es/m/CA+TgmoZW1fsU-QUNCRUQMGUygBDPVeOTLCqRdQZch=EYZnctSA@mail.gmail.com
2020-09-10 18:10:55 +03:00
|
|
|
pg_surgery \
|
2004-06-01 09:15:47 +04:00
|
|
|
pg_trgm \
|
2006-04-23 06:17:59 +04:00
|
|
|
pgrowlocks \
|
2001-10-01 05:52:38 +04:00
|
|
|
pgstattuple \
|
2016-03-08 16:38:50 +03:00
|
|
|
pg_visibility \
|
2013-02-21 14:26:23 +04:00
|
|
|
postgres_fdw \
|
2001-02-10 15:07:12 +03:00
|
|
|
seg \
|
|
|
|
spi \
|
2002-07-30 20:32:20 +04:00
|
|
|
tablefunc \
|
2012-01-20 08:15:15 +04:00
|
|
|
tcn \
|
Introduce logical decoding.
This feature, building on previous commits, allows the write-ahead log
stream to be decoded into a series of logical changes; that is,
inserts, updates, and deletes and the transactions which contain them.
It is capable of handling decoding even across changes to the schema
of the effected tables. The output format is controlled by a
so-called "output plugin"; an example is included. To make use of
this in a real replication system, the output plugin will need to be
modified to produce output in the format appropriate to that system,
and to perform filtering.
Currently, information can be extracted from the logical decoding
system only via SQL; future commits will add the ability to stream
changes via walsender.
Andres Freund, with review and other contributions from many other
people, including Álvaro Herrera, Abhijit Menon-Sen, Peter Gheogegan,
Kevin Grittner, Robert Haas, Heikki Linnakangas, Fujii Masao, Abhijit
Menon-Sen, Michael Paquier, Simon Riggs, Craig Ringer, and Steve
Singer.
2014-03-04 01:32:18 +04:00
|
|
|
test_decoding \
|
2015-05-15 22:33:37 +03:00
|
|
|
tsm_system_rows \
|
|
|
|
tsm_system_time \
|
2009-08-18 14:34:39 +04:00
|
|
|
unaccent \
|
2014-11-30 05:55:00 +03:00
|
|
|
vacuumlo
|
2001-09-06 14:49:30 +04:00
|
|
|
|
2021-02-01 13:19:44 +03:00
|
|
|
ifeq ($(with_ssl),openssl)
|
2021-11-05 15:59:42 +03:00
|
|
|
SUBDIRS += pgcrypto sslinfo
|
2011-07-03 21:55:02 +04:00
|
|
|
else
|
2021-11-05 15:59:42 +03:00
|
|
|
ALWAYS_SUBDIRS += pgcrypto sslinfo
|
2006-09-04 19:07:46 +04:00
|
|
|
endif
|
|
|
|
|
2014-05-28 03:42:08 +04:00
|
|
|
ifneq ($(with_uuid),no)
|
2009-08-08 00:50:22 +04:00
|
|
|
SUBDIRS += uuid-ossp
|
2011-07-03 21:55:02 +04:00
|
|
|
else
|
|
|
|
ALWAYS_SUBDIRS += uuid-ossp
|
2007-04-21 21:26:18 +04:00
|
|
|
endif
|
|
|
|
|
2007-04-15 16:48:24 +04:00
|
|
|
ifeq ($(with_libxml),yes)
|
2009-08-08 00:50:22 +04:00
|
|
|
SUBDIRS += xml2
|
2011-07-03 21:55:02 +04:00
|
|
|
else
|
|
|
|
ALWAYS_SUBDIRS += xml2
|
2007-04-15 16:48:24 +04:00
|
|
|
endif
|
|
|
|
|
2011-01-24 04:44:48 +03:00
|
|
|
ifeq ($(with_selinux),yes)
|
|
|
|
SUBDIRS += sepgsql
|
2011-07-03 21:55:02 +04:00
|
|
|
else
|
|
|
|
ALWAYS_SUBDIRS += sepgsql
|
2011-01-24 04:44:48 +03:00
|
|
|
endif
|
|
|
|
|
2015-04-26 17:33:14 +03:00
|
|
|
ifeq ($(with_perl),yes)
|
2020-03-07 01:11:23 +03:00
|
|
|
SUBDIRS += bool_plperl hstore_plperl jsonb_plperl
|
2015-04-26 17:33:14 +03:00
|
|
|
else
|
2020-03-07 01:11:23 +03:00
|
|
|
ALWAYS_SUBDIRS += bool_plperl hstore_plperl jsonb_plperl
|
2015-04-26 17:33:14 +03:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(with_python),yes)
|
2018-03-28 15:32:43 +03:00
|
|
|
SUBDIRS += hstore_plpython jsonb_plpython ltree_plpython
|
2015-04-26 17:33:14 +03:00
|
|
|
else
|
2018-03-28 15:32:43 +03:00
|
|
|
ALWAYS_SUBDIRS += hstore_plpython jsonb_plpython ltree_plpython
|
2015-04-26 17:33:14 +03:00
|
|
|
endif
|
|
|
|
|
2001-09-06 14:49:30 +04:00
|
|
|
# Missing:
|
|
|
|
# start-scripts \ (does not have a makefile)
|
2007-04-15 16:48:24 +04:00
|
|
|
|
2001-07-07 03:07:20 +04:00
|
|
|
|
2010-11-12 23:15:16 +03:00
|
|
|
$(recurse)
|
2011-07-03 21:55:02 +04:00
|
|
|
$(recurse_always)
|