From: Herouth Maoz <herouth@oumail.openu.ac.il>
To: Chris Bitmead <chris@tech.com.au>
Cc: pgsql-sql@hub.org <pgsql-sql@hub.org>
Subject: Re: [SQL] Can I prevent my sequence to increment if an insert isrejected?
Date: Wed, 21 Jul 1999 12:45:16 +0300
Message-ID: <l03130302b3bb46f98fd9@[147.233.159.109]> (raw)
In-Reply-To: <379594BB.1496E4FB@tech.com.au>
References: <l03130300b3bb3fa2d669@[147.233.159.109]>
At 12:36 +0300 on 21/07/1999, Chris Bitmead wrote:
> I missed the original question, but don't you get sequential numbers as
> long as cache is 0?
No. If an insert failed or a transaction failed, the sequence remains in
its new state.
Herouth
--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma
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: herouth@oumail.openu.ac.il, chris@tech.com.au, pgsql-sql@hub.org
Subject: Re: [SQL] Can I prevent my sequence to increment if an insert isrejected?
In-Reply-To: <l03130302b3bb46f98fd9@[147.233.159.109]>
References: <l03130300b3bb3fa2d669@[147.233.159.109]> <l03130302b3bb46f98fd9@[147.233.159.109]>
* 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