Re: SRF memory mgmt patch - Mailing list pgsql-patches

From Joe Conway
Subject Re: SRF memory mgmt patch
Date
Msg-id 3D6ECA89.60800@joeconway.com
Whole thread Raw
In response to SRF memory mgmt patch (was [HACKERS] Concern about memory management with SRFs)  (Joe Conway <mail@joeconway.com>)
List 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


pgsql-patches by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: SRF memory mgmt patch
Next
From: Joe Conway
Date:
Subject: Re: SRF memory mgmt patch (was [HACKERS] Concern about