forked from greenplum-db/gpdb-archive
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix temp_spill_files_tablespaces GUC sync (#1074)
Previously GUC sync worked by sending SET commands to segments. However, some values (for example the empty string for quoted GUCs) cannot be set this way. This affects specifically temp_spill_files_tablespaces since "" and "\"\"" have different semantic meaning for it. This patch changes the way GUC sync works by using pg_catalog.set_config() function instead of SET commands. This function sets the value of the GUC directly without any quoting issues, and so now empty strings are handled correctly. Ticket: ADBDEV-6438 (cherry picked from commit 993b6c4)
- Loading branch information
1 parent
42c0870
commit 7d06628
Showing
3 changed files
with
40 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters