pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
EXECUTE ... INTO?
2+ messages / 2 participants
[nested] [flat]

* EXECUTE ... INTO?
@ 2001-10-15 19:41 Josh Berkus <josh@agliodbs.com>
  2001-10-16 08:37 ` Re: EXECUTE ... INTO? Oliver Elphick <olly@lfix.co.uk>
  0 siblings, 1 reply; 2+ messages in thread

From: Josh Berkus @ 2001-10-15 19:41 UTC (permalink / raw)
  To: pgsql-sql

Folks,

Can anybody tell me the syntax for sending the result of an EXECUTE to a
variable within a PL/pgSQL function again?  Jan Wieck posted it to the
list this summer, but the "searchable list archives" are bogging down.

-Josh


______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: EXECUTE ... INTO?
  2001-10-15 19:41 EXECUTE ... INTO? Josh Berkus <josh@agliodbs.com>
@ 2001-10-16 08:37 ` Oliver Elphick <olly@lfix.co.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Oliver Elphick @ 2001-10-16 08:37 UTC (permalink / raw)
  To: Josh Berkus <josh@agliodbs.com>; +Cc: pgsql-sql

"Josh Berkus" wrote:
  >Folks,
  >
  >Can anybody tell me the syntax for sending the result of an EXECUTE to a
  >variable within a PL/pgSQL function again?  Jan Wieck posted it to the
  >list this summer, but the "searchable list archives" are bogging down.

FOR variable IN EXECUTE ''SELECT ...'' LOOP
END LOOP;

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C

     "But be ye doers of the word, and not hearers only, 
      deceiving your own selves."              James 1:22 





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-10-16 08:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-10-15 19:41 EXECUTE ... INTO? Josh Berkus <josh@agliodbs.com>
2001-10-16 08:37 ` Oliver Elphick <olly@lfix.co.uk>

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