Re: Commercial postgresql - Mailing list pgsql-general

From Vivek Khera
Subject Re: Commercial postgresql
Date
Msg-id x7fzje9bx4.fsf@yertle.int.kciLink.com
Whole thread Raw
In response to Re: Commercial postgresql  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
List pgsql-general
>>>>> "SD" == Shridhar Daithankar <shridhar_daithankar@persistent.co.in> writes:

>> Reindexing a table takes an exclusive table lock.  If I did it inside
>> a transaction, wouldn't it still take that lock and block out all
>> other access?

SD> Well, you donm't need to reindex as such. You can create a new index from
SD> scratch and drop the old one inside a transaction.

What about the primary keys?  How do you create a new primary key
without first dropping the old one?

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

pgsql-general by date:

Previous
From: Vivek Khera
Date:
Subject: Re: Commercial postgresql
Next
From: Tom Lane
Date:
Subject: Re: Localization (for dates) Oracle vs. Postgresql