From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Mihai Barbos <barbos(at)moon(dot)ro> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-sql(at)hub(dot)org |
Subject: | Re: [SQL] UNIQUE constraint |
Date: | 1999-09-27 18:55:13 |
Message-ID: | 199909271855.OAA11656@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1999-09-27 19:44:48 | Re: [SQL] Inheritance and DELETE |
Previous Message | Bruce Momjian | 1999-09-27 17:44:19 | Re: [SQL] table aliasing problem with 6.5... |