aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2022-05-09 08:35:08 -0700
committerNoah Misch <noah@leadboat.com>2022-05-09 08:35:12 -0700
commit880511cb0bdfd75a29ada6b80bf6e4efe6bc27b4 (patch)
tree7e30a4c76ae06d8a3bd95ab28aa73d78a54a2790 /src/backend/tcop/postgres.c
parent7f098f7b53edfe8340c6e031bf497308a2e65e2e (diff)
downloadpostgresql-880511cb0bdfd75a29ada6b80bf6e4efe6bc27b4.tar.gz
postgresql-880511cb0bdfd75a29ada6b80bf6e4efe6bc27b4.zip
In REFRESH MATERIALIZED VIEW, set user ID before running user code.
It intended to, but did not, achieve this. Adopt the new standard of setting user ID just after locking the relation. Back-patch to v10 (all supported versions). Reviewed by Simon Riggs. Reported by Alvaro Herrera. Security: CVE-2022-1552
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions