pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: astromonk <astromonk@flashmail.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: sequences not reliable?
Date: Wed, 04 Aug 1999 12:22:42 -0600
Message-ID: <37A884F2.411E3D62@flashmail.com> (raw)

rumor has it that if there is an abrupt power outage (not properly shut
down) then when the system comes back up the sequence will roll by by
1.  Is this true and has anyone seen it?

How do you fix this so this does not happen or what is the best hack?
will incrementing the sequence by 2 fix this?

Is it rolled back by "1" or rolled back 1 "value" to the previous
value?  If it were rolled back by "1" then increment by 2 would fix
things.

thanks

am
(please CC: if you post)







Message-ID: <37A884F2.411E3D62@flashmail.com>
Permalink:  ../37A884F2.411E3D62@flashmail.com/
Also on:    postgresql.org/message-id/37A884F2.411E3D62@flashmail.com

 · 

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: astromonk@flashmail.com
  Subject: Re: sequences not reliable?
  In-Reply-To: <37A884F2.411E3D62@flashmail.com>
  References: <37A884F2.411E3D62@flashmail.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