Re: Commercial postgresql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: shridhar_daithankar(at)persistent(dot)co(dot)in
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Commercial postgresql
Date: 2003-09-02 14:33:06
Message-ID: 3425.1062513186@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in> writes:
> On 2 Sep 2003 at 10:19, Vivek Khera wrote:
>> Reindexing a table takes an exclusive table lock.

> Well, you donm't need to reindex as such. You can create a new index from
> scratch and drop the old one inside a transaction.
> That will be perfectly non-blocking I believe..

It still blocks updates to the table while the new index is being built.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jenny - 2003-09-02 14:50:13 granularity of locking
Previous Message Andreas Fromm 2003-09-02 14:33:05 Re: inserting via "on insert" rule