Re: RETURN QUERY in PL/PgSQL? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: RETURN QUERY in PL/PgSQL?
Date
Msg-id 13852.1178219047@sss.pgh.pa.us
Whole thread Raw
In response to Re: RETURN QUERY in PL/PgSQL?  (Neil Conway <neilc@samurai.com>)
Responses Re: RETURN QUERY in PL/PgSQL?  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Re: RETURN QUERY in PL/PgSQL?  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> Pavel, my apologies for not getting back to you sooner.
> On Wed, 2007-25-04 at 07:12 +0200, Pavel Stehule wrote:
>> example: I have table with attr. cust_id, and I want to use parametrized 
>> view (table function) where I want to have attr cust_id on output.

> Hmm, I see your point. I'm personally satisfied with adding a new
> proargmode to solve this as you suggest.

This will break client-side code that looks at proargmode, and I don't
think the argument in favor is strong enough to justify that ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: RETURN QUERY in PL/PgSQL?
Next
From: Jeff Davis
Date:
Subject: Re: Sequential scans