diff options
author | Tomas Vondra | 2018-10-12 13:17:42 +0000 |
---|---|---|
committer | Tomas Vondra | 2018-10-12 13:17:42 +0000 |
commit | aed0774a9e81a6c7b3b39940982cea21d39ad74e (patch) | |
tree | 0255fb7afcc3d2763f4f51ecb92220b8a326b298 | |
parent | 02a25219f1b895924aaabecd40b55c6ba9f659bc (diff) |
Mark (char *) variable as const, to quiet compilersXL9_5_STABLE
-rw-r--r-- | src/backend/pgxc/pool/pgxcnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/pgxc/pool/pgxcnode.c b/src/backend/pgxc/pool/pgxcnode.c index e9516cf733..3c5d487475 100644 --- a/src/backend/pgxc/pool/pgxcnode.c +++ b/src/backend/pgxc/pool/pgxcnode.c @@ -2672,7 +2672,7 @@ get_set_command(List *param_list, StringInfo command, bool local) foreach (lc, param_list) { ParamEntry *entry = (ParamEntry *) lfirst(lc); - char *value = NameStr(entry->value); + const char *value = NameStr(entry->value); if (strlen(value) == 0) value = "''"; |