postgresql/contrib
Fujii Masao d1763ea8c9 Change default of pg_stat_statements.track_planning to off.
Since v13 pg_stat_statements is allowed to track the planning time of
statements when track_planning option is enabled. Its default was on.

But this feature could cause more terrible spinlock contentions in
pg_stat_statements. As a result of this, Robins Tharakan reported that
v13 beta1 showed ~45% performance drop at high DB connection counts
(when compared with v12.3) during fully-cached SELECT-only test using
pgbench.

To avoid this performance regression by the default setting,
this commit changes default of pg_stat_statements.track_planning to off.

Back-patch to v13 where pg_stat_statements.track_planning was introduced.

Reported-by: Robins Tharakan
Author: Fujii Masao
Reviewed-by: Julien Rouhaud
Discussion: https://postgr.es/m/2895b53b033c47ccb22972b589050dd9@EX13D05UWC001.ant.amazon.com
2020-07-03 11:35:22 +09:00
..
adminpack Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
amcheck
auth_delay
auto_explain
bloom
bool_plperl
btree_gin
btree_gist
citext Add current substring regular expression syntax 2020-06-29 11:05:00 +02:00
cube
dblink Initialize dblink remoteConn struct in all cases 2020-05-28 13:44:54 -04:00
dict_int
dict_xsyn
earthdistance
file_fdw
fuzzystrmatch
hstore Avoid using %c printf format for potentially non-ASCII characters. 2020-06-29 11:41:19 -04:00
hstore_plperl
hstore_plpython
intagg
intarray Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
isn
jsonb_plperl
jsonb_plpython
lo
ltree Use query collation, not column's collation, while examining statistics. 2020-06-05 16:18:50 -04:00
ltree_plpython
oid2name
pageinspect Avoid using %c printf format for potentially non-ASCII characters. 2020-06-29 11:41:19 -04:00
passwordcheck
pg_buffercache
pg_freespacemap
pg_prewarm
pg_standby
pg_stat_statements Change default of pg_stat_statements.track_planning to off. 2020-07-03 11:35:22 +09:00
pg_trgm Spelling adjustments 2020-06-09 10:41:41 +02:00
pg_visibility pgstattuple: Have pgstattuple_approx accept TOAST tables 2020-06-30 00:56:43 +02:00
pgcrypto Clear some style deviations. 2020-05-21 08:31:16 -07:00
pgrowlocks
pgstattuple pgstattuple: Have pgstattuple_approx accept TOAST tables 2020-06-30 00:56:43 +02:00
postgres_fdw Use CP_SMALL_TLIST for hash aggregate 2020-05-31 14:43:13 +02:00
seg
sepgsql
spi
sslinfo
start-scripts
tablefunc
tcn
test_decoding Replace superuser check by ACLs for replication origin functions 2020-06-14 12:40:37 +09:00
tsm_system_rows
tsm_system_time
unaccent
uuid-ossp
vacuumlo
xml2
contrib-global.mk
Makefile
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.