Adding PK using INDEX is taking time - Mailing list pgsql-admin

From Laszlo Fogas
Subject Adding PK using INDEX is taking time
Date
Msg-id CAOF_cTm9XzvYWsvU1n+1dkL31DW_1ouhf07fuiYo3J_6nk-TTw@mail.gmail.com
Whole thread Raw
List pgsql-admin
hello guys, 

anyone experienced that 

ADD CONSTRAINT xx PRIMARY KEY USING INDEX 

is not returning immediately? 

I'm pointing it to a nice UNIQUE index, it has all locks acquired, but reads the disk heavily. Then i killed it, since queries started to pile up.

--
Laszlo

pgsql-admin by date:

Previous
From: Vladimir Borodin
Date:
Subject: Re: Major version upgrades + Replication
Next
From: Tim White
Date:
Subject: pg_dump aborts with triggers error