Re: AUTO_INCREMENT patch - Mailing list pgsql-patches

From Troels Arvin
Subject Re: AUTO_INCREMENT patch
Date
Msg-id pan.2003.08.03.20.06.29.230448@arvin.dk
Whole thread Raw
In response to AUTO_INCREMENT patch  (des@des.no (Dag-Erling Smørgrav))
Responses Re: AUTO_INCREMENT patch
List pgsql-patches
On Sat, 02 Aug 2003 18:43:23 +0200, Dag-Erling Smørgrav wrote:

> It works by defining a new
> column constraint (CONSTR_AUTO_INCREMENT) which is handled specially
> by transformColumnDefinition() - after it has transformed SERIAL
> pseudo-types to the corresponding INT types

Beware that MySQL's AUTO_INCREMENT and PostgreSQL's SERIAL are not
equivalent.
See http://troels.arvin.dk/db/rdbms/#mix-identity

--
Greetings from Troels Arvin, Copenhagen, Denmark


pgsql-patches by date:

Previous
From: Anne Dudfield
Date:
Subject: Patch for select() -> poll() in libpq
Next
From: Tom Lane
Date:
Subject: Re: Patch for select() -> poll() in libpq