Re: [SQL] UNIQUE constraint
От | Bruce Momjian |
---|---|
Тема | Re: [SQL] UNIQUE constraint |
Дата | |
Msg-id | 199909271855.OAA11656@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: [SQL] UNIQUE constraint ("Mihai Barbos" <barbos@moon.ro>) |
Список | pgsql-sql |
[Charset iso-8859-1 unsupported, filtering to ASCII...] > My fault, the correct situation is > create table TEST ( > testkey something PRIMARY KEY, > testval something UNIQUE, > ..................... > ); > > PRIMARY KEY works OK, but UNIQUE is ignored. This is now fixed. create table TEST ( testkey int PRIMARY KEY, testval int UNIQUE ); NOTICE: CREATE TABLE/PRIMARY KEY will create implicit index 'test_pkey' for table 'test' NOTICE: CREATE TABLE/UNIQUE will create implicit index 'test_testval_key' for table 'test' CREATE -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-sql по дате отправления: