diff options
author | Tomas Vondra <tomas.vondra@postgresql.org> | 2021-01-15 23:24:19 +0100 |
---|---|---|
committer | Tomas Vondra <tomas.vondra@postgresql.org> | 2021-01-15 23:31:22 +0100 |
commit | c9a0dc34865f2f82d8e186f534d9b605afaa4d11 (patch) | |
tree | 6e5f79407516b510de96762df6c501cc6a4af004 /src/backend/commands/async.c | |
parent | 4823621db312a0597c40686c4c94d47428889fef (diff) | |
download | postgresql-c9a0dc34865f2f82d8e186f534d9b605afaa4d11.tar.gz postgresql-c9a0dc34865f2f82d8e186f534d9b605afaa4d11.zip |
Disallow CREATE STATISTICS on system catalogs
Add a check that CREATE STATISTICS does not add extended statistics on
system catalogs, similarly to indexes etc. It can be overriden using
the allow_system_table_mods GUC.
This bug exists since 7b504eb282c, adding the extended statistics, so
backpatch all the way back to PostgreSQL 10.
Author: Tomas Vondra
Reported-by: Dean Rasheed
Backpatch-through: 10
Discussion: https://postgr.es/m/CAEZATCXAPrrOKwEsyZKQ4uzzJQWBCt6QAvOcgqRGdWwT1zb%2BrQ%40mail.gmail.com
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions