Re: returning parameters from function

From: Rikard Pavelic <rikard(dot)pavelic(at)zg(dot)htnet(dot)hr>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: returning parameters from function
Date: 2006-12-12 15:33:42
Message-ID: 457ECBD6.3010804@zg.htnet.hr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Richard Huxton wrote:
> Rikard Pavelic wrote:
>> I know setof record will do if I explicitly name OUT parameters.
>> But I want Postgre to figure out for himself what parameters to
>> return as out parameters.
>>
>> I don't see why it would make things very ambiguous.
>
> Think about what happens if you use such a function in a join. How
> does the planner know what to do? What about a prepared query?

Good point.

Well, so much about that ;(

Regards,
Rikard

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Fairbanks 2006-12-12 15:36:19 Running initdb from another process
Previous Message Ron Johnson 2006-12-12 15:28:48 Re: Why DISTINCT ... DESC is slow?