From: Kenneth Gonsalves <lawgon@thenilgiris.com>
To: terry@ashtonwoodshomes.com
To: Postgresql Sql Group (E-mail) <pgsql-sql@postgresql.org>
Subject: Re: next integer in serial key
Date: Thu, 22 Jul 2004 17:10:01 +0530
Message-ID: <04072217100110.01150@thenilgiris.com> (raw)
In-Reply-To: <019001c46fe1$cb182b20$2766f30a@development.greatgulfhomes.com>
References: <019001c46fe1$cb182b20$2766f30a@development.greatgulfhomes.com>
On Thursday 22 July 2004 05:18 pm, terry@ashtonwoodshomes.com wrote:
> Alternatively, you can do:
> INSERT (accepting the default)
> then SELECT currval(the_sequence_object);
> then <extra inserts of related foreign key records>
did this. barf: foreign key not in original table
--
regards
kg
http://www.onlineindianhotels.net - hotel bookings reservations in over 4600
hotels in India
http://www.ootygolfclub.org
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: lawgon@thenilgiris.com, terry@ashtonwoodshomes.com
Subject: Re: next integer in serial key
In-Reply-To: <04072217100110.01150@thenilgiris.com>
* 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