Skip site navigation (1) Skip section navigation (2)

Re: Bug in CREATE FUNCTION with character type (CONFIRMED BUG)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Kevin J Bluck <technology(at)netce(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Bug in CREATE FUNCTION with character type (CONFIRMED BUG)
Date: 2010-04-15 13:59:37
Message-ID: 1046.1271339977@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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

In response to

Responses

pgsql-bugs by date

Next:From: Juan C. AragonDate: 2010-04-15 14:09:47
Subject: Re: Reset ACL to default for pg 8.0
Previous:From: Tom LaneDate: 2010-04-15 13:49:59
Subject: Re: BUG #5418: psql exits after using tab-completion with error message

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group