pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How can I..
2+ messages / 2 participants
[nested] [flat]

* How can I..
@ 2001-10-27 18:12  Eric Day <eday@sandibooks.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Eric Day @ 2001-10-27 18:12 UTC (permalink / raw)
  To: pgsql-admin

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

Regards,
Eric

Attachments:

  winmail.dat (application/ms-tnef, 2.9K) download

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

* Re: How can I..
@ 2001-10-27 20:19  Chris Ruprecht <chrup999@yahoo.com>
  parent: Eric Day <eday@sandibooks.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Chris Ruprecht @ 2001-10-27 20:19 UTC (permalink / raw)
  To: Eric Day <eday@sandibooks.com>; +Cc: pgsql-admin

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




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


end of thread, other threads:[~2001-10-27 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-10-27 18:12 How can I.. Eric Day <eday@sandibooks.com>
2001-10-27 20:19 ` Chris Ruprecht <chrup999@yahoo.com>

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