From: Michael Glaesemann <grzm@seespotcode.net>
To: roopa perumalraja <roopabenzer@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: increment the primary key value without using sequences
Date: Sun, 29 Jul 2007 08:37:41 -0500
Message-ID: <889B7471-25C6-4D05-9AA3-91BE11F9CFE0@seespotcode.net> (raw)
In-Reply-To: <945413.94674.qm@web50803.mail.re2.yahoo.com>
References: <945413.94674.qm@web50803.mail.re2.yahoo.com>
On Jul 29, 2007, at 7:00 , roopa perumalraja wrote:
> I would like to know if its possible to increment the primary key
> field value of stocks table without using sequences by getting the
> next value of the pk field from the sequnce table ?
Why? Any other solution will cause performance issues.
Michael Glaesemann
grzm seespotcode net
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: grzm@seespotcode.net, roopabenzer@yahoo.com
Subject: Re: increment the primary key value without using sequences
In-Reply-To: <889B7471-25C6-4D05-9AA3-91BE11F9CFE0@seespotcode.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