Re: Function call crashes server - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Function call crashes server
Date
Msg-id 16383.1016691879@sss.pgh.pa.us
Whole thread Raw
In response to Re: Function call crashes server  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Function call crashes server  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.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


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: oops
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Function call crashes server