Re: Autonumeric field

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Félix Sánchez Rodríguez <fesanch(at)ciego(dot)cult(dot)cu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Autonumeric field
Date: 2009-03-08 00:14:11
Message-ID: 20090308001411.GE3821@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Félix Sánchez Rodríguez wrote:
> Hi:
>
> I'm brand new to Postgre and I'm wondering if there is an "autonumeric"
> data type. I'm using Case Studio and Navicat for PostgreSQL to manipulate
> the Data Bases.

Yes. It's called SERIAL. (It's not strictly a separate type, but it
should do what you want.)

You may be interested in knowing that there's a spanish list:
http://archives.postgresql.org/pgsql-es-ayuda/
There are several people from Cuba there.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message venkat ramana 2009-03-08 05:39:20 Re: Application Error on setting archive_mode to on
Previous Message Scott Marlowe 2009-03-08 00:13:05 Re: Autonumeric field