aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/timestamp.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
commit677a494789062ca88e0142a17bedd5415f6ab0aa (patch)
tree6e6a040df51c9fafd3c3295d0ccdf210c5510866 /src/backend/utils/adt/timestamp.c
parentab49ce7c3414ac19e4afb386d7843ce2d2fb8bda (diff)
downloadpostgresql-677a494789062ca88e0142a17bedd5415f6ab0aa.tar.gz
postgresql-677a494789062ca88e0142a17bedd5415f6ab0aa.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/utils/adt/timestamp.c')
0 files changed, 0 insertions, 0 deletions