Re: what datatype is for autonumbering.in postgress

From: Chris <dmagick(at)gmail(dot)com>
To: deepak pal <deepak(dot)05pal(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: what datatype is for autonumbering.in postgress
Date: 2006-04-04 04:54:10
Message-ID: 4431FBF2.8040102@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

deepak pal wrote:
> hi
> i have to make ine field autonumber field what datatype should be used..??

serial.

http://www.postgresql.org/docs/8.1/interactive/datatype.html#DATATYPE-SERIAL

--
Postgresql & php tutorials
http://www.designmagick.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2006-04-04 05:03:57 Re: what datatype is for autonumbering.in postgress
Previous Message Tom Lane 2006-04-04 04:50:03 Re: Database restoration performance issue on PostgreSQL 7.4.7