Postgres: define a default value for CAST failures?
There is no default value for a CAST: A type cast specifies a conversion from one data type to another. PostgreSQL accepts two equivalent syntaxes for type casts: CAST ( expression AS type ) expression::type There is no room in the syntax for anything other than the expression to be casted and the desired target … Read more