Re: [PATCHES] parse_expr.c:typecast_expression:return immediate on NULL input

2007-11-23 Thread Hannes Eder
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 giv

Re: [PATCHES] parse_expr.c:typecast_expression:return immediate on NULL input

2007-11-23 Thread Tom Lane
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. It's fairly likely that