OSDN Git Service

Remove the queryid_stat_statements field.
authorJulien Rouhaud <julien.rouhaud@free.fr>
Sat, 6 Nov 2021 07:00:21 +0000 (15:00 +0800)
committerKyotaro Horiguchi <horikyota.ntt@gmail.com>
Thu, 25 Nov 2021 10:37:02 +0000 (19:37 +0900)
commit9e6e98fc9204be66ff2ddf75bdfd924b0aea59cf
treef3d2d14b1d4509f54e2526381995b943ea83271d
parentd5c020cfab394adfab20378071ca2a82bf723f14
Remove the queryid_stat_statements field.

With pg14 and above core postgres can compute a queryid without any
external extension, so we can simply rely on it.  We do so by asking
for the core to compute a queryid if users allow it.  Note that if
users explicitly disable compute_query_id, we will obey and not record
anything.

For previous versions, automatically detect if a queryid is computed
by some external extensions or not.  If yes, use it as the key queryid
otherwise fallback on internal queryid calculation.
docs/index.html
expected/store.out
expected/store_2.out
pg_store_plans--1.6.sql
pg_store_plans.c
sql/store.sql