Re: Unable to Update a Record - Mailing list pgsql-general

From Wang, Mary Y
Subject Re: Unable to Update a Record
Date
Msg-id 8C5D1947714C254FBA98D176B86DEAB8AA4CD5@XCH-SW-3V1.sw.nos.boeing.com
Whole thread Raw
In response to Unable to Update a Record  ("Wang, Mary Y" <mary.y.wang@boeing.com>)
Responses Re: Unable to Update a Record  (Richard Huxton <dev@archonet.com>)
List pgsql-general
I tried to do (3) as well for reindex.
But I got this error:

reindex table users;
ERROR:  Cannot create unique index. Table contains non-unique values.

Do you know what does this mean?

Thanks in advance.

Mary Wang


-----Original Message-----
From: Richard Huxton [mailto:dev@archonet.com]
Sent: Monday, August 01, 2005 11:08 PM
To: Wang, Mary Y
Cc: Joshua D. Drake; pgsql-general@postgresql.org
Subject: Re: [GENERAL] Unable to Update a Record


Wang, Mary Y wrote:
> Richard,
>
> Thank you so MUCH. I was able to delete the record by using the OID
> method that you mentioned in (2).

Well, if the column I mentioned in (1) is integer/bigint, then you'll
want to do (3) as well and reindex.

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: CLUSTER equivalent
Next
From: Tom Lane
Date:
Subject: Re: Problem with dropping a tablespace