diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-10-29 12:58:40 +0530 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-10-29 13:14:37 +0530 |
commit | f74f871b80a13ef72b19e3d829a109f8df0df792 (patch) | |
tree | 4977690000538348b2192c1428659adb8a47d2fa /src/include/utils/guc.h | |
parent | 21daada10ebf444fb1fc06a705fb22b890867083 (diff) |
Fix problems with the "role" GUC and parallel query.
Without this fix, dropping a role can sometimes result in parallel
query failures in sessions that have used "SET ROLE" to assume the
dropped role, even if that setting isn't active any more.
Report by Pavan Deolasee. Patch by Amit Kapila, reviewed by me.
Discussion: http://postgr.es/m/CABOikdOomRcZsLsLK+Z+qENM1zxyaWnAvFh3MJZzZnnKiF+REg@mail.gmail.com
Diffstat (limited to 'src/include/utils/guc.h')
-rw-r--r-- | src/include/utils/guc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index 0bf9f210678..4e3e15906ac 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -245,6 +245,7 @@ extern bool log_btree_build_stats; extern PGDLLIMPORT bool check_function_bodies; extern bool default_with_oids; extern bool SQL_inheritance; +extern bool session_auth_is_superuser; extern int log_min_error_statement; extern int log_min_messages; |