Re: modifying the tbale function - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: modifying the tbale function
Date
Msg-id 45FFE30F.40808@dunslane.net
Whole thread Raw
In response to Re: modifying the tbale function  ("Florian G. Pflug" <fgp@phlo.org>)
Responses Re: modifying the tbale function  (Hannu Krosing <hannu@skype.net>)
List pgsql-hackers
Florian G. Pflug wrote:
>> Are we really sure that this isn't a solution in search of a problem?
> I think this really depends on how you define "problem". Some people
> might think that "select * from myfunc(...) limit 1" should stop and
> return a result after myfunc(...) has returned one row. Others will
> say "well, just use a different software design that doesn't depend
> on this optimization".
>
>

I think that's a very thin use case to justify all the scaffolding you 
propose, so put me in with the others I guess.

If we can provide a per-call mechanism for C functions, that should be 
adequate, I think. If you need heavy optimization then you need C 
functions anyway.

cheers

andrew



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: how to add seconds to a TimestampTz
Next
From: Stefan Kaltenbrunner
Date:
Subject: Re: Buildfarm feature request: some way to track/classify failures