Re: WIP: store additional info in GIN index - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: WIP: store additional info in GIN index
Date
Msg-id 20121204224707.GH30893@momjian.us
Whole thread Raw
In response to Re: WIP: store additional info in GIN index  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Dec  4, 2012 at 05:35:27PM -0500, Tom Lane wrote:
> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> > Maybe we can mark GIN indexes as invalid after pg_upgrade somehow, so
> > that they require reindex in the new cluster before they can be used for
> > queries or index updates.
> 
> Bumping the version number in the GIN metapage would be sufficient.

And it is easy for pg_upgrade to report which indexes need rebuilding,
and it can create a script file to do the reindexing.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: WIP: store additional info in GIN index
Next
From: Jeff Davis
Date:
Subject: Re: Enabling Checksums