Re: About auto_increment

From: Ragnar <gnari(at)hive(dot)is>
To: Yesh <rengesh2k3(at)yahoo(dot)co(dot)in>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: About auto_increment
Date: 2007-01-02 16:05:38
Message-ID: 1167753938.6369.416.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On mán, 2007-01-01 at 21:21 -0800, Yesh wrote:
> I need to know how to increment a primary key field automatically in run
> time.

Will SERIAL do what you want?

gnari

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vlad 2007-01-02 16:53:44 PostgreSQL 8.2.1 expected release date?
Previous Message Richard Huxton 2007-01-02 16:04:02 Re: Replacing all CHAR colums with VARCHAR