修复sequence大小写忽略问题

This commit is contained in:
梅程
2024-07-22 13:19:00 +08:00
parent f3b82066f6
commit f27f8a7bc3
3 changed files with 49 additions and 1 deletions

View File

@ -3186,7 +3186,7 @@ static Node* transformSequenceFuncCall(ParseState* pstate, Node* field1, Node* f
if (field1 != NULL) {
StringInfoData buf;
initStringInfo(&buf);
appendStringInfo(&buf, "%s.%s", strVal(field1), strVal(field2));
appendStringInfo(&buf, "\"%s\".\"%s\"", strVal(field1), strVal(field2));
arg = makeString(buf.data);
} else {
arg = (Value*)field2;