From: Oliver Elphick <olly@lfix.co.uk>
To: Kenneth Gonsalves <lawgon@thenilgiris.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: next integer in serial key
Date: Thu, 22 Jul 2004 06:31:18 +0100
Message-ID: <1090474278.25749.173.camel@linda> (raw)
In-Reply-To: <0407220815420P.01150@thenilgiris.com>
References: <0407220815420P.01150@thenilgiris.com>
On Thu, 2004-07-22 at 03:45, Kenneth Gonsalves wrote:
> hi,
> how does one get the next number in a serial type row?
When inserting a new row, do not mention the serial column in the list
of columns, or else give it the value DEFAULT.
--
Oliver Elphick olly@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA
========================================
"Then Peter and the other apostles answered and said,
We ought to obey God rather than men."
Acts 5:29
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: olly@lfix.co.uk, lawgon@thenilgiris.com
Subject: Re: next integer in serial key
In-Reply-To: <1090474278.25749.173.camel@linda>
* 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