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