From: | Vivek Khera <khera(at)kcilink(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Commercial postgresql |
Date: | 2003-09-03 14:36:23 |
Message-ID: | x7fzje9bx4.fsf@yertle.int.kciLink.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
>>>>> "SD" == Shridhar Daithankar <shridhar_daithankar(at)persistent(dot)co(dot)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(at)kciLink(dot)com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-09-03 14:36:29 | Re: Localization (for dates) Oracle vs. Postgresql |
Previous Message | Tom Lane | 2003-09-03 14:32:17 | Re: Trunc in Postgres |