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

From: Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl>
To: Andrus <kobruleht2(at)hot(dot)ee>
Cc: <depesz(at)depesz(dot)com>, "Merlin Moncure" <mmoncure(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to fix set-valued function called in contextthat cannot accept a set in earlier versions
Date: 2010-04-05 17:34:13
Message-ID: D5936687-C99C-4A47-9AA5-99A9F0E65DEF@solfertje.student.utwente.nl
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 5 Apr 2010, at 16:33, Andrus wrote:

> Than you.
>
>> remove begin and end from above function.
>
> I tried code belwo in 8.3 but got error
> ERROR: column "line" does not exist
> LINE 29: select * from wordwrap(line,linelen);
>
> Andrus.

Yes of course, you don't specify where to take line or linelen from. You probably meant to put some constant values there or results from another table.

> select wordwrap83('fdgdf',10)

^^^^^^
These values for example.

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.

!DSPAM:737,4bba1f2b10411047147693!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2010-04-05 18:19:51 Re: count function alternative in postgres
Previous Message Gerhard Heift 2010-04-05 16:28:18 Temporal data storage