Re: Postgresql reindex hangs when table is being updated - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Postgresql reindex hangs when table is being updated
Date
Msg-id 1159383420.26848.105.camel@state.g2switchworks.com
Whole thread Raw
In response to Postgresql reindex hangs when table is being updated  ("deep ..." <walter.mitty.esq@gmail.com>)
List pgsql-general
On Tue, 2006-09-26 at 23:31, deep ... wrote:
> Hi all,
>
> I'm running a web application supported by postgresql 7.4 on an unix
> system. The management part of application requires reindexing of
> tables. I see that whenever reindexing runs with the while the table
> is getting updated/inserted into, reindexing hangs. I understand this
> is because reindexing requires an exclusive lock on the table.
>
>
> Is there a possible workaround? What else can I do other than stopping
> the insertion/update while reindex runs?

What problem are you trying to solve?  Perhaps something other than
reindex might work.

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: change the order of FROM selection to make query work
Next
From: Geoffrey
Date:
Subject: continued segmentation fault