rename blob type to bytea

This commit is contained in:
Asdine El Hrychy
2025-09-14 11:47:35 +05:30
parent 2b5f821375
commit b0119498e8
34 changed files with 184 additions and 184 deletions

View File

@@ -35,9 +35,9 @@ func TestParserExpr(t *testing.T) {
{"double quoted string", `"10.0"`, testutil.TextValue("10.0"), false},
{"single quoted string", "'-10.0'", testutil.TextValue("-10.0"), false},
// blobs
{"blob as hex string", `'\xff'`, testutil.BlobValue([]byte{255}), false},
{"invalid blob hex string", `'\xzz'`, nil, true},
// byteas
{"bytea as hex string", `'\xff'`, testutil.ByteaValue([]byte{255}), false},
{"invalid bytea hex string", `'\xzz'`, nil, true},
// parentheses
{"parentheses: empty", "()", nil, true},