From: Aasmund Midttun Godal <postgresql@envisity.com>
To: green@usa.dp.ua
Cc: pgsql-sql@postgresql.org
Subject: Re: autoincrement
Date: Thu, 25 Oct 2001 21:22:44 GMT
Message-ID: <20011025212244.2041.qmail@ns.krot.org> (raw)
In-Reply-To: <20011025230932.A82025@usa.dp.ua>
References: <20011025230932.A82025@usa.dp.ua>
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@usa.dp.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@postgresql.org
Aasmund Midttun Godal
aasmund@godal.com - http://www.godal.com/
+47 40 45 20 46
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: postgresql@envisity.com, green@usa.dp.ua
Subject: Re: autoincrement
In-Reply-To: <20011025212244.2041.qmail@ns.krot.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox