Re: temporarily deactivate an index

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Jaime Casanova <systemguards(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Viktor Rosenfeld <rosenfel(at)informatik(dot)hu-berlin(dot)de>, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: temporarily deactivate an index
Date: 2008-06-08 18:18:05
Message-ID: 20080608181805.GD5206@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jaime Casanova escribió:

> if i mark the index not ready (using pg_index.indisvalid or
> pg_index.indisready depending on version), will the index be updated
> if in another transaction i make an insert?

Yes (in fact that's the whole point of having an index marked "not
valid/ready").

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2008-06-08 19:46:49 Re: libpq.so.4
Previous Message Jaime Casanova 2008-06-08 17:37:13 Re: temporarily deactivate an index