>>>>> "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/