wangfeihuo
2024-04-07 21:06:21 +08:00
committed by yaoxin
parent c0fc6a8cb0
commit 08387b9b50
7 changed files with 242 additions and 5 deletions

View File

@ -520,7 +520,7 @@ Const* make_const(ParseState* pstate, Value* value, int location)
typid = UNKNOWNOID; /* will be coerced later */
typelen = -2; /* cstring-style varwidth type */
typebyval = false;
if (OidIsValid(GetCollationConnection())) {
if (!DB_IS_CMPT(B_FORMAT) && OidIsValid(GetCollationConnection())) {
collid = GetCollationConnection();
}
break;