postgresql/src/backend
Bruce Momjian 5fd9dfa5f5 Move pg_stat_statements query jumbling to core.
Add compute_query_id GUC to control whether a query identifier should be
computed by the core (off by default).  It's thefore now possible to
disable core queryid computation and use pg_stat_statements with a
different algorithm to compute the query identifier by using a
third-party module.

To ensure that a single source of query identifier can be used and is
well defined, modules that calculate a query identifier should throw an
error if compute_query_id specified to compute a query id and if a query
idenfitier was already calculated.

Discussion: https://postgr.es/m/20210407125726.tkvjdbw76hxnpwfi@nol

Author: Julien Rouhaud

Reviewed-by: Alvaro Herrera, Nitin Jadhav, Zhihong Yu
2021-04-07 13:06:56 -04:00
..
access Truncate line pointer array during VACUUM. 2021-04-07 08:47:15 -07:00
bootstrap Split backend status and progress related functionality out of pgstat.c. 2021-04-03 11:42:52 -07:00
catalog Fix use of cursor sensitivity terminology 2021-04-07 08:05:55 +02:00
commands Postpone some stuff out of ExecInitModifyTable. 2021-04-06 15:57:11 -04:00
executor Comment cleanup for a1115fa07. 2021-04-07 12:22:02 -04:00
foreign Update copyright for 2021 2021-01-02 13:06:25 -05:00
jit Use errmsg_internal for debug messages 2021-02-17 11:33:25 +01:00
lib Update copyright for 2021 2021-01-02 13:06:25 -05:00
libpq Refactor hba_authname 2021-04-07 14:24:47 +02:00
main Update copyright for 2021 2021-01-02 13:06:25 -05:00
nodes Add Result Cache executor node (take 2) 2021-04-02 14:10:56 +13:00
optimizer Add support for NullIfExpr in eval_const_expressions 2021-04-02 11:01:49 +02:00
parser Move pg_stat_statements query jumbling to core. 2021-04-07 13:06:56 -04:00
partitioning ALTER TABLE ... DETACH PARTITION ... CONCURRENTLY 2021-03-25 18:00:28 -03:00
po Translation updates 2020-05-18 12:49:30 +02:00
port Use errmsg_internal for debug messages 2021-02-17 11:33:25 +01:00
postmaster Fix typo in pgstat.c. 2021-04-06 14:09:40 +09:00
regex Further tweak memory management for regex DFAs. 2021-03-08 16:32:29 -05:00
replication Message improvement 2021-04-07 07:42:44 +02:00
rewrite Clean up treatment of missing default and CHECK-constraint records. 2021-04-06 10:34:39 -04:00
snowball Update snowball 2021-02-19 08:10:15 +01:00
statistics Fix handling of clauses incompatible with extended statistics 2021-04-06 16:56:06 +02:00
storage Truncate line pointer array during VACUUM. 2021-04-07 08:47:15 -07:00
tcop Move pg_stat_statements query jumbling to core. 2021-04-07 13:06:56 -04:00
tsearch Don't leak compiled regex(es) when an ispell cache entry is dropped. 2021-03-18 22:22:47 -04:00
utils Move pg_stat_statements query jumbling to core. 2021-04-07 13:06:56 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Use sort_template.h for qsort_tuple() and qsort_ssup(). 2021-03-03 17:02:32 +13:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
nls.mk Add missing gettext triggers 2020-04-28 13:35:40 +02:00