Re: SRF in C

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jeff Davis <jdavis-pgsql(at)empires(dot)org>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: SRF in C
Date: 2004-01-16 20:50:58
Message-ID: 200401162050.i0GKowT02433@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Davis wrote:
> 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.

I would assume the C function guys would know this was obvious.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

  • SRF in C at 2004-01-11 23:09:13 from Jeff Davis

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Ochs 2004-01-16 21:12:59 Re: User-specific sequences
Previous Message Josh Berkus 2004-01-16 20:37:49 Potential Problem with PostgeSQL performance on SuSE Linux 9.0