diff options
author | Noah Misch <noah@leadboat.com> | 2022-05-09 08:35:08 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2022-05-09 08:35:13 -0700 |
commit | f26d5702857a9c027f84850af48b0eea0f3aa15c (patch) | |
tree | 3fb4228cc7cb21bfc15e196a8154caac5c9ef887 /src/backend/utils/adt/timestamp.c | |
parent | ef792f7856dea2576dcd9cab92b2b05fe955696b (diff) | |
download | postgresql-f26d5702857a9c027f84850af48b0eea0f3aa15c.tar.gz postgresql-f26d5702857a9c027f84850af48b0eea0f3aa15c.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