Hannes Eder <Hannes(at)HannesEder(dot)net> 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 the test for InvalidOid is dead code anyway,
but it's cheap enough that I'm not in a hurry to take it out.
regards, tom lane
In response to
pgsql-patches by date
|Next:||From: Marko Kreen||Date: 2007-11-23 17:36:17|
|Subject: Re: Cleaner API for appendStringInfoVA|
|Previous:||From: Tom Lane||Date: 2007-11-23 17:03:56|
|Subject: Re: Cleaner API for appendStringInfoVA |