pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Ruprecht <chrup999@yahoo.com>
To: Eric Day <eday@sandibooks.com>
Cc: PostGreSQL Admin Group <pgsql-admin@postgresql.org>
Subject: Re: How can I..
Date: Sat, 27 Oct 2001 15:19:59 -0500
Message-ID: <p05101003b800c6cbae3f@[192.168.0.4]> (raw)
In-Reply-To: <LIELJPDPGNAMOHJKBKCKEEEECAAA.eday@sandibooks.com>
References: <LIELJPDPGNAMOHJKBKCKEEEECAAA.eday@sandibooks.com>

Eric,

>How do I create a stored procedure which would return a few records with a
>few columns each ?
>
>Regards,
>Eric


Create a temp table, delete all it's records. Then have run your 
procedure which will create records in the temp table. You have 
access to the records in the temp table from your calling procedure. 
Sorry, but there is no data type 'record' which can be used to return 
a records (row, tuple, etc.) in PostGreSQL at the moment.

Best regards,
Chris
-- 
--
Chris Ruprecht
Network grunt and bit pusher extraordinaíre

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




view thread (2+ messages)

Message-ID: <p05101003b800c6cbae3f@[192.168.0.4]>
Permalink:  ../p05101003b800c6cbae3f@%5B192.168.0.4%5D/
Also on:    postgresql.org/message-id/p05101003b800c6cbae3f@[192.168.0.4]

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: chrup999@yahoo.com, eday@sandibooks.com
  Subject: Re: How can I..
  In-Reply-To: <p05101003b800c6cbae3f@[192.168.0.4]>
  References: <LIELJPDPGNAMOHJKBKCKEEEECAAA.eday@sandibooks.com> <p05101003b800c6cbae3f@[192.168.0.4]>

* 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