aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2021-01-15 23:24:19 +0100
committerTomas Vondra <tomas.vondra@postgresql.org>2021-01-15 23:34:02 +0100
commitc22539756ee5492547badc821023e7fdf4bee4ef (patch)
treeb8c3cde87e2d7ec4eb6d4587851f19f79e5416c3 /src/backend/access/transam/commit_ts.c
parent5fa060c8f5937d304d9e966486d3750278ef3175 (diff)
downloadpostgresql-c22539756ee5492547badc821023e7fdf4bee4ef.tar.gz
postgresql-c22539756ee5492547badc821023e7fdf4bee4ef.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/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions