Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7e70f24

Browse files
knizhnikkelvich
authored andcommitted
Put enum GUCs in quotas
1 parent b2bdea9 commit 7e70f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4987,7 +4987,7 @@ char* MtmGucSerialize(void)
49874987
appendStringInfoString(serialized_gucs, " TO ");
49884988

49894989
gconf = fing_guc_conf(cur_entry->key);
4990-
if (gconf && (gconf->vartype == PGC_STRING || gconf->flags & (GUC_UNIT_MEMORY | GUC_UNIT_TIME)))
4990+
if (gconf && (gconf->vartype == PGC_STRING || gconf->vartype == PGC_ENUM || (gconf->flags & (GUC_UNIT_MEMORY | GUC_UNIT_TIME))))
49914991
{
49924992
appendStringInfoString(serialized_gucs, "'");
49934993
appendStringInfoString(serialized_gucs, cur_entry->value);

0 commit comments

Comments
 (0)