diff options
Diffstat (limited to 'src/backend/utils/adt/varlena.c')
-rw-r--r-- | src/backend/utils/adt/varlena.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/adt/varlena.c b/src/backend/utils/adt/varlena.c index a89f586abad..85f85d430e0 100644 --- a/src/backend/utils/adt/varlena.c +++ b/src/backend/utils/adt/varlena.c @@ -3007,16 +3007,16 @@ SplitIdentifierString(char *rawstring, char separator, char *curname; char *endp; - if (*nextp == '\"') + if (*nextp == '"') { /* Quoted name --- collapse quote-quote pairs, no downcasing */ curname = nextp + 1; for (;;) { - endp = strchr(nextp + 1, '\"'); + endp = strchr(nextp + 1, '"'); if (endp == NULL) return false; /* mismatched quotes */ - if (endp[1] != '\"') + if (endp[1] != '"') break; /* found end of quoted name */ /* Collapse adjacent quotes into one quote, and look again */ memmove(endp, endp + 1, strlen(endp)); @@ -3132,16 +3132,16 @@ SplitDirectoriesString(char *rawstring, char separator, char *curname; char *endp; - if (*nextp == '\"') + if (*nextp == '"') { /* Quoted name --- collapse quote-quote pairs */ curname = nextp + 1; for (;;) { - endp = strchr(nextp + 1, '\"'); + endp = strchr(nextp + 1, '"'); if (endp == NULL) return false; /* mismatched quotes */ - if (endp[1] != '\"') + if (endp[1] != '"') break; /* found end of quoted name */ /* Collapse adjacent quotes into one quote, and look again */ memmove(endp, endp + 1, strlen(endp)); |