Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Question on returning Rows in a stored proc



Hi,

I'm new to pl/pgsql and while exploring the world of writing stored procs, I
came up with a question that I hope some kind person can help me with,
namely, how does one return a bunch of rows?
From the examples that I've found on the web, I can return and integer, a
real, etc.  But if I wanted to return the results of something like a query,
(e.g. SELECT * FROM foo), how would I do that?

Rich


Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group