diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-10-16 11:37:19 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-10-16 11:40:03 -0400 |
commit | 73d71cde5751e06d372431178e740835284eb132 (patch) | |
tree | c4fd624ce4f26126ed60dfec29b7a0c353947f8f /src/include/regex/regex.h | |
parent | 14129d1c9e2d3afa064651012a55c9c84aa6821a (diff) | |
download | postgresql-73d71cde5751e06d372431178e740835284eb132.tar.gz postgresql-73d71cde5751e06d372431178e740835284eb132.zip |
Fix a problem with parallel workers being unable to restore role.
check_role() tries to verify that the user has permission to become the
requested role, but this is inappropriate in a parallel worker, which
needs to exactly recreate the master's authorization settings. So skip
the check in that case.
This fixes a bug in commit 924bcf4f16d54c55310b28f77686608684734f42.
Diffstat (limited to 'src/include/regex/regex.h')
0 files changed, 0 insertions, 0 deletions