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

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: depesz(at)depesz(dot)com
Cc: Andrus <kobruleht2(at)hot(dot)ee>, pgsql-general(at)postgresql(dot)org
Subject: Re: How to fix set-valued function called in context that cannot accept a set in earlier versions
Date: 2010-04-05 13:40:24
Message-ID: m2tb42b73151004050640y3a0add35h19fc2ea74c62cb71@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Apr 5, 2010 at 7:28 AM, hubert depesz lubaczewski
<depesz(at)depesz(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Igor Neyman 2010-04-05 14:11:01 Re: join two tables without a key
Previous Message Kenichiro Tanaka 2010-04-05 13:01:52 Re: How to fix set-valued function called in context that cannot accept a set in earlier versions