Re: the number of pending entries in GIN index with FASTUPDATE=on
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Fujii Masao <masao.fujii@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2012-11-06T19:34:53Z
Lists: pgsql-hackers
On Tue, Nov 6, 2012 at 1:01 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Robert Haas <robertmhaas@gmail.com> writes: >> On Fri, Nov 2, 2012 at 12:48 PM, Fujii Masao <masao.fujii@gmail.com> wrote: >>> Is there the way to know the number of pending entries in GIN index which >>> was created with FASTUPDATE = on? If not, is it worth implementing the >>> function returning that number? > >> Seems useful to me. > > Seems like the appropriate place to expose this would be in a > GIN-specific variant of contrib/pgstattuple's pgstatindex(). Yeah, that seems good to me, too. Or something in pgstatindex, anyway. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company