Re: SRF memory mgmt patch

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-patches(at)postgresql(dot)org
Subject: Re: SRF memory mgmt patch
Date: 2002-08-30 01:29:45
Message-ID: 3D6ECA89.60800@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tatsuo Ishii wrote:
>>It seemed to me that pgstattuple.c does not really want to be an SRF,
>>but only a function returning a single tuple.
>
> Thank you for modifying pgstattuple.c. You are right, it does not want
> to return more than 1 tuple.
>

I noticed that too, but it did occur to me that at some point you might
want to make the function return a row for every table in a database.
Perhaps even another system view (like pg_locks or pg_settings)?

Joe

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-08-30 02:01:53 RULE regression test failure
Previous Message D'Arcy J.M. Cain 2002-08-30 01:28:08 Re: Type definition process (was Re: MemoryContextAlloc: invalid request size 1934906735)

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2002-08-30 04:29:49 Re: SRF memory mgmt patch (was [HACKERS] Concern about
Previous Message Tatsuo Ishii 2002-08-30 01:25:48 Re: SRF memory mgmt patch