Re: autoincrement

From: "Aasmund Midttun Godal" <postgresql(at)envisity(dot)com>
To: green(at)usa(dot)dp(dot)ua
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: autoincrement
Date: 2001-10-25 21:22:44
Message-ID: 20011025212244.2041.qmail@ns.krot.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

SERIAL type (look it up in the docs).

Regards,

Aasmund

PS. I may not be good at counting, but I have counted your two words 3 times and I still get 6.

On Thu, 25 Oct 2001 23:09:32 +0300, Alexey Prohorenko <green(at)usa(dot)dp(dot)ua> wrote:
> How can I reproduce in PostgreSQL type structure from MySQL:
> INT NOT NULL PRIMARY KEY AUTO_INCREMENT
>
> ?
>
> To be more exact -- in two words: "how can I create autoincrement
> field?"
>
> Thanks a lot.
>
> --
> green
> [http://www.extrasy.net]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

Aasmund Midttun Godal

aasmund(at)godal(dot)com - http://www.godal.com/
+47 40 45 20 46

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2001-10-25 23:50:59 Re: [LONGINT] Problem
Previous Message Bruce Momjian 2001-10-25 21:11:33 Re: autoincrement