Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Feel free to wack it around.
Removing the special-case logic in ExecTypeFromTL yields
regression=# SELECT update_pg_pwd();
ERROR: getTypeOutputInfo: Cache lookup of type 0 failed
which is not exactly pretty, but it beats a core dump. "SELECT NULL"
still works.
I'm satisfied with this until we get around to breaking up the uses of
"type OID 0" into several pseudo-types with crisper meanings, per
previous discussions.
regards, tom lane