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

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group