Re: How return a row from a function so it is recognized as such by caller?

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Kenneth Tilton <ktilton(at)mcna(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How return a row from a function so it is recognized as such by caller?
Date: 2012-03-28 20:02:16
Message-ID: CAHyXU0yadGU6ODWsEbvSZATodshvbjQsjOME7zTEVDnN0RXzaA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Mar 28, 2012 at 2:49 PM, Kenneth Tilton <ktilton(at)mcna(dot)net> wrote:
> Well then I have the other error. With this code:
>
>    execute 'select ' || NEW.warn_time_init || '($1)' into bpa using NEW;

try this:
select * from now_plus_30(NEW) into bpa;

:-D

merlin

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kenneth Tilton 2012-03-28 20:25:02 Re: How return a row from a function so it is recognized as such by caller?
Previous Message Kenneth Tilton 2012-03-28 19:49:46 Re: How return a row from a function so it is recognized as such by caller?