Re: do postgresql this job for me ? (firebird user)

From: Christophe <xof(at)thebuild(dot)com>
To: Pg - General <pgsql-general(at)postgresql(dot)org>
Subject: Re: do postgresql this job for me ? (firebird user)
Date: 2009-05-24 17:53:19
Message-ID: D55100D6-D3B9-4AB6-BF49-71C7C0C66940@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On May 24, 2009, at 8:58 AM, Craig Ringer wrote:
> There isn't currently any REINDEX CONCURRENTLY
> option, but people seem to have a few workarounds that do the job if
> you
> really do need to rebuild an index on a live, active table.

It's pretty straight-forward to do:

CREATE INDEX CONCURRENTLY idx_new ON table ... ;

DROP INDEX idx;

ALTER INDEX idx_new RENAME TO idx;

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-05-24 18:21:40 Re: do postgresql this job for me ? (firebird user)
Previous Message Thomas Kellerer 2009-05-24 17:32:46 Re: do postgresql this job for me ? (firebird user)