By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
ERROR: operator does not exist: something_t = unknown
LINE 1: select * from xxx where something = 'OPEN'
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
ERROR: operator does not exist: something_t = something_t
LINE 1: select * from xxx where something = 'OPEN'::something_t
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.