Re: Bug in CREATE FUNCTION with character type (CONFIRMED BUG) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug in CREATE FUNCTION with character type (CONFIRMED BUG)
Date
Msg-id 1046.1271339977@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug in CREATE FUNCTION with character type (CONFIRMED BUG)  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Bug in CREATE FUNCTION with character type (CONFIRMED BUG)
List pgsql-bugs
Pavel Stehule <pavel.stehule@gmail.com> writes:
> I think, so RETURNS TABLE can be modified for returning typmode
> without significant problems - this function is called in table
> context and I don't see any problematic use case.

RETURNS TABLE is just a shorthand for some OUT parameters.  I don't
believe it's either easy or a good idea to make it work differently
from every other function-argument-or-result case.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5418: psql exits after using tab-completion with error message
Next
From: "Juan C. Aragon"
Date:
Subject: Re: Reset ACL to default for pg 8.0