Re: CALL stmt, ERROR: unrecognized node type: 113 bug - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CALL stmt, ERROR: unrecognized node type: 113 bug
Date
Msg-id 12437.1518466767@sss.pgh.pa.us
Whole thread Raw
In response to Re: CALL stmt, ERROR: unrecognized node type: 113 bug  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: CALL stmt, ERROR: unrecognized node type: 113 bug  (Michael Paquier <michael@paquier.xyz>)
Re: CALL stmt, ERROR: unrecognized node type: 113 bug  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Removing shm_mq.c's volatile qualifiers
Next
From: Thomas Munro
Date:
Subject: Re: Removing shm_mq.c's volatile qualifiers