Re: How return a row from a function so it is recognized as such by caller? - Mailing list pgsql-general

From Merlin Moncure
Subject Re: How return a row from a function so it is recognized as such by caller?
Date
Msg-id CAHyXU0yadGU6ODWsEbvSZATodshvbjQsjOME7zTEVDnN0RXzaA@mail.gmail.com
Whole thread Raw
In response to Re: How return a row from a function so it is recognized as such by caller?  (Kenneth Tilton <ktilton@mcna.net>)
Responses Re: How return a row from a function so it is recognized as such by caller?
List pgsql-general
On Wed, Mar 28, 2012 at 2:49 PM, Kenneth Tilton <ktilton@mcna.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

pgsql-general by date:

Previous
From: Kenneth Tilton
Date:
Subject: Re: How return a row from a function so it is recognized as such by caller?
Next
From: Kenneth Tilton
Date:
Subject: Re: How return a row from a function so it is recognized as such by caller?