Re: How to fix set-valued function called in context that cannot accept a set in earlier versions - Mailing list pgsql-general

From Merlin Moncure
Subject Re: How to fix set-valued function called in context that cannot accept a set in earlier versions
Date
Msg-id m2tb42b73151004050640y3a0add35h19fc2ea74c62cb71@mail.gmail.com
Whole thread Raw
In response to Re: How to fix set-valued function called in context that cannot accept a set in earlier versions  (hubert depesz lubaczewski <depesz@depesz.com>)
Responses Re: How to fix set-valued function called in context that cannot accept a set in earlier versions
List pgsql-general
On Mon, Apr 5, 2010 at 7:28 AM, hubert depesz lubaczewski
<depesz@depesz.com> wrote:
> On Mon, Apr 05, 2010 at 02:14:33PM +0300, Andrus wrote:
>> select wordwrap('fdgdf',10)
>
> select * from wordwrap('...', ...);

another workaround is to wrap the pl/pgsql function in sql function.
it's not always easy to re-work the function all into a 'from'
expression.

merlin

pgsql-general by date:

Previous
From: Kenichiro Tanaka
Date:
Subject: Re: How to fix set-valued function called in context that cannot accept a set in earlier versions
Next
From: "Igor Neyman"
Date:
Subject: Re: join two tables without a key