unique index creation failure in 7.4.1 - bug?

Поиск
Список
Период
Сортировка
От Ben Marklein
Тема unique index creation failure in 7.4.1 - bug?
Дата
Msg-id 20040113073917.1092.qmail@web11510.mail.yahoo.com
обсуждение исходный текст
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Leif K-Brooks
Дата:
Сообщение: How should I get started?
Следующее
От: "ezra epstein"
Дата:
Сообщение: Re: Postgress and MYSQL