From: Tom Lane <tgl@sss.pgh.pa.us>
To: hankiewicz@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7600: Database crash with data corruption
Date: Fri, 12 Oct 2012 11:05:43 -0400
Message-ID: <23056.1350054343@sss.pgh.pa.us> (raw)
In-Reply-To: <E1TMfOh-0003f1-02@wrigleys.postgresql.org>
References: <E1TMfOh-0003f1-02@wrigleys.postgresql.org>
hankiewicz@gmail.com writes:
> The list of steps to reproduce bug:
> 1) Create two database on single server instance (production and sandbox)
> 2) On production perform normal operations (we use Trac with over 50 active
> users)
> 3) on the sandbox database start explain plan of query
> 4) while explain plan is executing drop sandbox database
> 5) after recovery was completed we have discovered that sequences on
> production database had wrong values
It's normal for sequences to be advanced by a few counts (up to 32)
after a database crash. You seem to have done a "kill -9" on the
backend that was running the EXPLAIN, which would count as a crash.
So I don't see any bug here.
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, hankiewicz@gmail.com
Subject: Re: BUG #7600: Database crash with data corruption
In-Reply-To: <23056.1350054343@sss.pgh.pa.us>
References: <E1TMfOh-0003f1-02@wrigleys.postgresql.org> <23056.1350054343@sss.pgh.pa.us>
* 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