pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brett W. McCoy <bmccoy@chapelperilous.net>
To: Macky <macky@edsamail.com>
Cc: Postgresql-Sql <pgsql-sql@postgresql.org>
Subject: Re: AUTOINCREMENT--help
Date: Mon, 1 Jan 2001 22:00:47 -0500 (EST)
Message-ID: <Pine.LNX.4.30.0101012159260.28618-100000@chapelperilous.net> (raw)
In-Reply-To: <003701c07462$fb451700$5764a8c0@edsamail.com>

On Tue, 2 Jan 2001, Macky wrote:

> Is there a function in SQL that does autoincrementing...

http://www.postgresql.org/docs/faq-english.html#4.16.1

and

http://www.postgresql.org/users-lounge/docs/7.0/postgres/sql-createsequence.htm

will tell you how to do this.

-- Brett
                                     http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
A thing is not necessarily true because a man dies for it.
		-- Oscar Wilde, "The Portrait of Mr. W.H."




view thread (2+ messages)

Message-ID: <Pine.LNX.4.30.0101012159260.28618-100000@chapelperilous.net>
Permalink:  ../Pine.LNX.4.30.0101012159260.28618-100000@chapelperilous.net/
Also on:    postgresql.org/message-id/Pine.LNX.4.30.0101012159260.28618-100000@chapelperilous.net

 · 

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: bmccoy@chapelperilous.net, macky@edsamail.com
  Subject: Re: AUTOINCREMENT--help
  In-Reply-To: <Pine.LNX.4.30.0101012159260.28618-100000@chapelperilous.net>
  References: <003701c07462$fb451700$5764a8c0@edsamail.com> <Pine.LNX.4.30.0101012159260.28618-100000@chapelperilous.net>

* 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