mirror of https://github.com/citusdata/citus.git
Update GUC setting to not crash with ASAN (#8301)
The GUC configuration for SkipAdvisoryLockPermissionChecks had
misconfigured the settings for GUC_SUPERUSER_ONLY for PGC_SUSET - when
PostgreSQL running with ASAN, this fails when querying pg_settings due
to exceeding the size of the array GucContext_Names. Fix up this GUC
declaration to not crash with ASAN.
(cherry picked from commit 86010de733)
release-12.1
parent
b509d952ce
commit
c569f8321f
|
|
@ -2405,8 +2405,8 @@ RegisterCitusConfigVariables(void)
|
||||||
NULL,
|
NULL,
|
||||||
&SkipAdvisoryLockPermissionChecks,
|
&SkipAdvisoryLockPermissionChecks,
|
||||||
false,
|
false,
|
||||||
GUC_SUPERUSER_ONLY,
|
PGC_SUSET,
|
||||||
GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE,
|
GUC_SUPERUSER_ONLY | GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE,
|
||||||
NULL, NULL, NULL);
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
DefineCustomBoolVariable(
|
DefineCustomBoolVariable(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue