Re: Auto incrementing fields. How?

From: Harry Wood <harry(dot)wood(at)ic(dot)ac(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Auto incrementing fields. How?
Date: 2000-12-20 15:44:17
Message-ID: 3A40D3D1.EF9F2A4@ic.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've had lots of responses to this, and I think I have it sussed now. If
anyone has the same problem, the answer is:

Use the SERIAL type!

http://www.postgresql.org/docs/postgres/datatype.htm#AEN949

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Webb Sprague 2000-12-20 15:53:49 PLPGSQL vs. PLSQL (Oracle)
Previous Message Martin A. Marques 2000-12-20 15:27:58 Re: logs