pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martín Marqués <martin@bugs.unl.edu.ar>
To: Sylte <Sylte_@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Auto incrementing an integer
Date: Mon, 14 May 2001 18:15:45 +0300
Message-ID: <989853345.3afff6a1a3a45@bugs.unl.edu.ar> (raw)
In-Reply-To: <9dokvu$4uo$1@sunsite.dk>
References: <9dokvu$4uo$1@sunsite.dk>

Quoting Sylte <Sylte_@hotmail.com>:

> How do I construct a datatype that autoincrement in postgreSQL?

See sequences and the SERIAL type. 

Saludos... :-)

-- 
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-----------------------------------------------------------------
Martin Marques                  |        mmarques@unl.edu.ar
Programador, Administrador      |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------



view thread (6+ messages)  latest in thread

Message-ID: <989853345.3afff6a1a3a45@bugs.unl.edu.ar>
Permalink:  ../989853345.3afff6a1a3a45@bugs.unl.edu.ar/
Also on:    postgresql.org/message-id/989853345.3afff6a1a3a45@bugs.unl.edu.ar

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: martin@bugs.unl.edu.ar, Sylte_@hotmail.com
  Subject: Re: Auto incrementing an integer
  In-Reply-To: <989853345.3afff6a1a3a45@bugs.unl.edu.ar>
  References: <9dokvu$4uo$1@sunsite.dk> <989853345.3afff6a1a3a45@bugs.unl.edu.ar>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox