From: | Ben Marklein <the_pharcyde(at)yahoo(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | unique index creation failure in 7.4.1 - bug? |
Date: | 2004-01-13 07:39:17 |
Message-ID: | 20040113073917.1092.qmail@web11510.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Did a pg_dump of a 7.2 DB and am now trying to restore
to 7.4.1. Index creation on a table fails:
db=# CREATE UNIQUE INDEX person_info_username_ix ON
person_info USING btree (username);
ERROR: could not create unique index
DETAIL: Table contains duplicated values.
Of course, this index existed in the 7.2 DB, so it
seems odd that it should not be possible to recreate.
Furthermore, a search for duplicate values fails:
db=# select username, count(*) from person_info group
by username having count(*) > 1;
username | count
----------+-------
(0 rows)
Is this a known issue?
Ben
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Travers | 2004-01-13 07:39:53 | Re: Drawbacks of using BYTEA for PK? |
Previous Message | Chris Ochs | 2004-01-13 05:47:13 | Re: sql insert function |