We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39af850 commit f07176fCopy full SHA for f07176f
1 file changed
sql/init_data/init.sql
@@ -41,8 +41,9 @@ CREATE TABLE "type_VARBIT" (i int, b bit);
41
CREATE VIEW "type_VARBIT+" AS SELECT *, typeof(b) t, length(b) l FROM "type_VARBIT";
42
CREATE TABLE "type_UUIDpk" (col uuid primary key);
43
CREATE TABLE "type_UUID" (i int, u uuid);
44
--- canonic UUID case when typeof(u) = 'blob' then substr(lower(hex(u)),1,8) || '-' || substr(lower(hex(u)),9,4) || '-' || substr(lower(hex(u)),13,4) || '-' || substr(lower(hex(u)),17,4) || '-' || substr(lower(hex(u)),21,12) else null end uuid_blob_canon
45
CREATE VIEW "type_UUID+" AS SELECT *, typeof(u) t, length(u) l FROM "type_UUID";
+-- blob affinity normalization form for "type_UUID+" view for better visual comparing during uuid test output, will be used later
46
+-- case when typeof(u) = 'blob' then substr(lower(hex(u)),1,8) || '-' || substr(lower(hex(u)),9,4) || '-' || substr(lower(hex(u)),13,4) || '-' || substr(lower(hex(u)),17,4) || '-' || substr(lower(hex(u)),21,12) else null end uuid_blob_canon
47
CREATE TABLE "type_MACADDRpk" (col macaddr primary key);
48
CREATE TABLE "type_MACADDR" (i int, m macaddr);
49
CREATE VIEW "type_MACADDR+" AS SELECT *, typeof("m") t, length("m") l, cast("m" as text) tx FROM "type_macaddr";
0 commit comments