| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | vadim(at)krs(dot)ru (Vadim Mikheev) |
| Cc: | tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgreSQL(dot)org |
| Subject: | Re: [HACKERS] DROPping tables with SERIALs |
| Date: | 1998-12-02 01:21:35 |
| Message-ID: | 199812020121.UAA08410@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> The SERIAL data type is not automatically a unique column.
> You must apply a unique index to this column to prevent
> duplicate serial numbers. If you use the interactive schema
> editor in DB-Access to define the table, a unique index is
> applied automatically to a SERIAL column.
>
> http://www.informix.com/answers/english/pdf_docs/gn7382/4366.pdf
>
> You can specify a nonzero value for a serial column
> (as long as it does not duplicate any existing value in that column), ...
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> ?!!!
You can assign a value to a serial column, as long as it is unique.
--
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 | 1998-12-02 01:26:34 | Re: [HACKERS] sbufdesc' padding... |
| Previous Message | Bruce Momjian | 1998-12-02 01:09:48 | Re: [HACKERS] New platform-specific FAQ for HPUX |