Mario Splivalo <mario(dot)splivalo(at)megafon(dot)hr> writes:
> When I call 'service_something' function and provide nonexistent
> service_id I get this error:
> ERROR: cache lookup failed for type 37
Hmm. Looks like exec_eval_expr should be more careful about setting
a result datatype when the expression returns no rows. NULL is NULL,
but it still has a defined datatype ...
regards, tom lane