Content-Length: 272447 | pFad | http://github.com/postgrespro/postgres_cluster/commit/71fab421869460c2ed8edad9fc40305d9194bc11

3D Add quotes to memory units in GUCs · postgrespro/postgres_cluster@71fab42 · GitHub
Skip to content

Commit 71fab42

Browse files
committed
Add quotes to memory units in GUCs
1 parent cfbf8e4 commit 71fab42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/mmts/multimaster.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3802,7 +3802,7 @@ static char * MtmGucSerialize(void)
38023802
appendStringInfoString(serialized_gucs, " TO ");
38033803

38043804
/* quite a crutch */
3805-
if (strcmp(cur_entry->key, "work_mem") == 0)
3805+
if (strstr(cur_entry->key, "_mem") != NULL)
38063806
{
38073807
appendStringInfoString(serialized_gucs, "'");
38083808
appendStringInfoString(serialized_gucs, cur_entry->value);
@@ -3940,6 +3940,7 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
39403940
break;
39413941

39423942
case T_CreateDomainStmt:
3943+
/* Detect temp tables access */
39433944
{
39443945
CreateDomainStmt *stmt = (CreateDomainStmt *) parsetree;
39453946
HeapTuple typeTup;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/71fab421869460c2ed8edad9fc40305d9194bc11

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy