Closed protodef closed 5 years ago
It does not end with '\0' but ExecEvalCypherTypeCast() does not care this properly. For example, RETURN ('1' + '2')::text; returns a result like "12~\x7F@". And we can save 1 byte if a C-string is stored in it. This is applied to jsonb_add().
'\0'
ExecEvalCypherTypeCast()
RETURN ('1' + '2')::text;
"12~\x7F@"
jsonb_add()
It does not end with
'\0'
butExecEvalCypherTypeCast()
does not care this properly. For example,RETURN ('1' + '2')::text;
returns a result like"12~\x7F@"
. And we can save 1 byte if a C-string is stored in it. This is applied tojsonb_add()
.