pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: TODO item for plpgsql Was Re: obtuse plpgsql function needs
Date: Fri, 1 Aug 2003 15:16:56 -0400
Message-ID: <200308011516.56947.xzilla@users.sourceforge.net> (raw)
In-Reply-To: <200307310412.h6V4CNt25172@candle.pha.pa.us>
References: <200307310412.h6V4CNt25172@candle.pha.pa.us>

I don't seem to have any plsql specfic documentation, and the rest of my 
oracle documentation isn't specfific enough. Anyone else?

Robert Treat

On Thursday 31 July 2003 00:12, Bruce Momjian wrote:
> Does Oracle have a syntax for this?
>
> ---------------------------------------------------------------------------
>
> Robert Treat wrote:
> > On Wednesday 23 July 2003 19:06, Bruce Momjian wrote:
> > > Robert Treat wrote:
> > > > On Wed, 2003-07-23 at 15:38, greg@turnstep.com wrote:
> > > > >   FOR myrec IN EXECUTE myinfo LOOP
> > > > >     biglist := myrec.info;
> > > > >   END LOOP;
> > > >
> > > > One other thing, I hate when I have to do things like the above, can
> > > > we get a TODO like:
> > > >
> > > > allow 'EXECUTE var INTO record' in plpgsql
> > >
> > > So the TODO would be?
> > >
> > > 	Allow PL/pgSQL EXECUTE to return a single record outside a loop
> >
> > that's what I wrote, but not what I meant :-)  I do like the sound of it
> > though, but really what I meant to say was:
> > EXECUTE var1 INTO var2
> > but this assumes a number of things, namely that executing var1 will
> > return only one field, and one row.  I guess that would be:
> > Allow PL/pgSQL EXECUTE to return a single variable outside a loop
> >
> > Robert Treat
> > --
> > Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> >
> >                http://www.postgresql.org/docs/faqs/FAQ.html

-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL



view thread (11+ messages)  latest in thread

Message-ID: <200308011516.56947.xzilla@users.sourceforge.net>
Permalink:  ../200308011516.56947.xzilla@users.sourceforge.net/
Also on:    postgresql.org/message-id/200308011516.56947.xzilla@users.sourceforge.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: xzilla@users.sourceforge.net, pgman@candle.pha.pa.us
  Subject: Re: TODO item for plpgsql Was Re: obtuse plpgsql function needs
  In-Reply-To: <200308011516.56947.xzilla@users.sourceforge.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox