Re: sorry, now with subject... trigger & nextval(seq)

From: Daniel Migowski <dmigowski(at)ikoffice(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: sorry, now with subject... trigger & nextval(seq)
Date: 2010-06-01 11:05:36
Message-ID: 4C04E980.9080906@ikoffice.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Am 21.05.2010 03:46, schrieb Adrian Klaver:
> You know serial is just a shortcut for:
>
> pid int NOT NULL DEFAULT nextval('seq')
>
> I think you will find Access will place nice if you use the long form to define
> your autoincrement.
>
Not true. Serial will also add an internal dependency between the
sequence, will create the sequence and will drop everything if the
column gets dropped.

Regards,
Daniel Migowski

Attachment Content-Type Size
dmigowski.vcf text/x-vcard 295 bytes

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Wes James 2010-06-02 16:48:39 how to construct sql
Previous Message Jasen Betts 2010-05-30 10:37:59 Re: Extending Regular Expression bounds limit of 255.