Did postgres give you an exception complaining about the type, or did it just fail to match any rows?