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

From: Kenneth Tilton <ktilton(at)mcna(dot)net>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
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:25:02
Message-ID: CAECCA8aSMyEJbRWe8RF3dPWseceYBHpSj2XKdvfxP_eeGgb=0A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Mar 28, 2012 at 4:02 PM, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:

> 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;
>

Yer a genius. Thx!

-kt

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2012-03-28 20:54:58 Re: Limit the normal user to see system catalog or not??? And create privilege???
Previous Message Merlin Moncure 2012-03-28 20:02:16 Re: How return a row from a function so it is recognized as such by caller?