mirror of https://github.com/postgres/postgres
All functions provided by this extension are PARALLEL SAFE. Given the general prohibition against write operations in parallel queries, it is perhaps a bit surprising that pg_stat_statements_reset() is parallel safe. But since it only modifies shared memory, not the database, it's OK. Andreas Karlssonpull/31/head
parent
3d8fc8c68c
commit
496899ccc2
@ -0,0 +1,7 @@ |
||||
/* contrib/pg_stat_statements/pg_stat_statements--1.3--1.4.sql */ |
||||
|
||||
-- complain if script is sourced in psql, rather than via ALTER EXTENSION |
||||
\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.4'" to load this file. \quit |
||||
|
||||
ALTER FUNCTION pg_stat_statements_reset() PARALLEL SAFE; |
||||
ALTER FUNCTION pg_stat_statements(boolean) PARALLEL SAFE; |
@ -1,5 +1,5 @@ |
||||
# pg_stat_statements extension |
||||
comment = 'track execution statistics of all SQL statements executed' |
||||
default_version = '1.3' |
||||
default_version = '1.4' |
||||
module_pathname = '$libdir/pg_stat_statements' |
||||
relocatable = true |
||||
|
Loading…
Reference in new issue