Re: the number of pending entries in GIN index with FASTUPDATE=on

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: the number of pending entries in GIN index with FASTUPDATE=on
Date: 2012-11-06 18:01:30
Message-ID: 16271.1352224890@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Fri, Nov 2, 2012 at 12:48 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)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(). I seem to
recall some previous discussion about how to fix the btree-centricity
of that function's API, but I don't recall if we thought of a good
solution.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Karl O. Pinc 2012-11-06 18:16:52 Re: Doc patch, distinguish sections with an empty row in error code table
Previous Message Robert Haas 2012-11-06 18:00:06 Re: Proposal for Allow postgresql.conf values to be changed via SQL