diff options
author | Kevin Grittner <kgrittn@postgresql.org> | 2014-08-26 10:00:42 -0500 |
---|---|---|
committer | Kevin Grittner <kgrittn@postgresql.org> | 2014-08-26 10:00:42 -0500 |
commit | 06414c0f68e9f8039c1de40d009f12fa96c49192 (patch) | |
tree | 4be11daf7ad87ceb47117b1086061f4256764554 /src/backend/executor/nodeLockRows.c | |
parent | 3a3d3f9ec01f1f7333e3bbcd5ba9398fd19ad8d9 (diff) | |
download | postgresql-06414c0f68e9f8039c1de40d009f12fa96c49192.tar.gz postgresql-06414c0f68e9f8039c1de40d009f12fa96c49192.zip |
Fix superuser concurrent refresh of matview owned by another.
Use SECURITY_LOCAL_USERID_CHANGE while building temporary tables;
only escalate to SECURITY_RESTRICTED_OPERATION while potentially
running user-supplied code. The more secure mode was preventing
temp table creation. Add regression tests to cover this problem.
This fixes Bug #11208 reported by Bruno Emanuel de Andrade Silva.
Backpatch to 9.4, where the bug was introduced.
Diffstat (limited to 'src/backend/executor/nodeLockRows.c')
0 files changed, 0 insertions, 0 deletions