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

Commit 5bc9448

Browse files
committed
2 parents 9bf06a4 + 71fab42 commit 5bc9448

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/mmts/multimaster.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -3806,7 +3806,7 @@ static char * MtmGucSerialize(void)
38063806
appendStringInfoString(serialized_gucs, " TO ");
38073807

38083808
/* quite a crutch */
3809-
if (strcmp(cur_entry->key, "work_mem") == 0)
3809+
if (strstr(cur_entry->key, "_mem") != NULL)
38103810
{
38113811
appendStringInfoString(serialized_gucs, "'");
38123812
appendStringInfoString(serialized_gucs, cur_entry->value);
@@ -3955,6 +3955,7 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
39553955
}
39563956

39573957
case T_CreateDomainStmt:
3958+
/* Detect temp tables access */
39583959
{
39593960
CreateDomainStmt *stmt = (CreateDomainStmt *) parsetree;
39603961
HeapTuple typeTup;

0 commit comments

Comments
 (0)