I'm testing the migration procedure for a client, we want to migrate
from 8.3.6 to 8.4
When we perform a test migration of the data we found some errors on
the logs, one of them is this one:
mic=# ALTER TABLE tcom_invitacion ADD primary key (id_invitacion);
NOTICE: ALTER TABLE / ADD PRIMARY KEY will create implicit index
"tcom_invitacion_pkey" for table "tcom_invitacion"
ERROR: concurrent insert in progress
actually, no indexes were created on this table...
and when i tried to add the PK manually after migration i get this
same error (not always, it seems this time the index is being created
but this time i did it inside a transaction)...
doesn't the index creation of the index block the table so, that
message should not appear?
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
pgsql-bugs by date
|Next:||From: Tom Lane||Date: 2010-01-21 17:45:14|
|Subject: Re: add primary key doesn't block? |
|Previous:||From: Milen A. Radev||Date: 2010-01-21 17:17:39|
|Subject: Re: BUG #5290: Simple loop with insert into and check to avoid duplicate