\pset null NULL SELECT ''::rdf_iri = ''::rdf_iri; ?column? ---------- t (1 row) SELECT ''::rdf_iri = ''::rdf_iri; ?column? ---------- f (1 row) SELECT ''::rdf_iri = NULL; ?column? ---------- NULL (1 row) SELECT ''::rdf_iri = ''::text; ?column? ---------- t (1 row) SELECT ''::rdf_iri = ''::text; ?column? ---------- f (1 row) SELECT ''::text = ''::rdf_iri; ?column? ---------- t (1 row) SELECT ''::text = ''::rdf_iri; ?column? ---------- f (1 row) SELECT ''::rdf_iri = ''::rdf_literal; ERROR: operator does not exist: rdf_iri = rdf_literal LINE 1: SELECT ''::rdf_iri = '':... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. SELECT ''::rdf_literal = ''::rdf_iri; ERROR: operator does not exist: rdf_literal = rdf_iri LINE 1: SELECT ''::rdf_literal = '