Re: CALL stmt, ERROR: unrecognized node type: 113 bug

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CALL stmt, ERROR: unrecognized node type: 113 bug
Date: 2018-02-12 20:19:27
Message-ID: 12437.1518466767@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:
> On 2/1/18 11:33, Pavel Stehule wrote:
>> postgres=# \sf test
>> ERROR:  cache lookup failed for type 0

> Here is a patch set that adds procedure support to \ef and \sf.

I've not read in detail, but it looks reasonable offhand, modulo
that I still don't like prorettype == 0 ;-).

I did notice a tiny typo:

- * with. Hence prefer "$function$", but extend if needed.
+ * with. Hence prefer "$function$"/"$procedure", but extend if needed.

I think you want

+ * with. Hence prefer "$function$"/"$procedure$", but extend if needed.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2018-02-12 20:23:52 Re: Removing shm_mq.c's volatile qualifiers
Previous Message Robert Haas 2018-02-12 20:09:27 Re: Removing shm_mq.c's volatile qualifiers