Another mySQL to PostgreSQL move question

From: Matt Housh <jaeger(at)morpheus(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Another mySQL to PostgreSQL move question
Date: 2000-07-10 18:48:12
Message-ID: 396A1A6C.FA72A14D@morpheus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Does PostgreSQL support something like mySQL's auto_increment tag? For
example, my entering "create table test (userid int default 0 not null
auto_increment);" in mySQL creates a table with one field that automatically
increments its value if none is specified. I have not been able to duplicate
this in PostgreSQL yet (still new...) - any help is appreciated...

Matt

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2000-07-10 18:52:32 Re: Re: [GENERAL] PostgreSQL vs. MySQL
Previous Message Tom Lane 2000-07-10 16:08:32 Re: Re: [GENERAL] PostgreSQL vs. MySQL