Mario Splivalo <mario.spliv...@megafon.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

-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to