diff options
author | Kevin Grittner <kgrittn@postgresql.org> | 2014-08-26 09:56:26 -0500 |
---|---|---|
committer | Kevin Grittner <kgrittn@postgresql.org> | 2014-08-26 09:56:26 -0500 |
commit | a9d0f1cff3fb10151be05be61d24ac9b680c170c (patch) | |
tree | 01f276e0920702f2990d55334d6196b240c347f1 /src/backend/executor/execMain.c | |
parent | 5569d75d6a82f0d11d26404fceb848ae59869126 (diff) | |
download | postgresql-a9d0f1cff3fb10151be05be61d24ac9b680c170c.tar.gz postgresql-a9d0f1cff3fb10151be05be61d24ac9b680c170c.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/execMain.c')
0 files changed, 0 insertions, 0 deletions