Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Misch2022-05-09 15:35:08 +0000
committerNoah Misch2022-05-09 15:35:08 +0000
commit0abc1a059e27c5a71a1a186c97d9c0af407469cc (patch)
tree9aaf68f208afca144db2e45c6a8dbb9a26cdb2e4 /src/backend/commands/user.c
parenta117cebd638dd02e5c2e791c25e43745f233111b (diff)
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/commands/user.c')
0 files changed, 0 insertions, 0 deletions