SRF in C

From: Jeff Davis <jdavis-pgsql(at)empires(dot)org>
To: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: SRF in C
Date: 2004-01-11 23:09:13
Message-ID: 1073862553.1475.93.camel@jeff
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

in section _37.7.1.2. RETURN NEXT_ of the docs, it says that "PL/pgSQL
stores the entire result set before returning from the function".

Is the same true for C, and if so, should we document it in
_33.7.9. Returning Sets from C-Language Functions_ ?

It could be important if someone wanted to return a huge amount of data
from an SRF and it was larger than available RAM.

Regards,
Jeff Davis

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2004-01-12 01:50:08 Re: psql \d option list overloaded
Previous Message D. Dante Lorenso 2004-01-11 22:05:15 Re: Drawbacks of using BYTEA for PK?