Hi, The main goal was to correctly process invalid queries (as in examples above). I'm not sure this could be done in type input functions. I thought that some coercions could be checked before evaluating expressions for saving reasons.
-- Regards, Nikita Malakhov Postgres Professional The Russian Postgres Company https://postgrespro.ru/