Tom Lane <[EMAIL PROTECTED]> writes: > Hannes Eder <[EMAIL PROTECTED]> writes: > > in parse_expr.c:typecast_expression: return immediate on NULL > input, i.e. do not lookup target type Oid as it is not required. > > I think the existing ordering is intentional, to detect and error > out if the given typename is bogus.
Ups, yes, you are right. typecast_expression calls typenameTypeId and this calls typenameType, which will ereport an error if the typename cannot be found. -Hannes ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings