From: Craig Ringer <ringerc@ringerc.id.au>
To: Michał Hankiewicz <hankiewicz@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7600: Database crash with data corruption
Date: Mon, 15 Oct 2012 21:31:26 +0800
Message-ID: <507C102E.9090507@ringerc.id.au> (raw)
In-Reply-To: <CAMpaLZp+ALrSyt27vtJuvW9wOc4u4TZU30Kp78gV4avo3w_DzA@mail.gmail.com>
References: <E1TMfOh-0003f1-02@wrigleys.postgresql.org>
<50794C3E.3070608@ringerc.id.au>
<CAMpaLZp+ALrSyt27vtJuvW9wOc4u4TZU30Kp78gV4avo3w_DzA@mail.gmail.com>
On 10/15/2012 04:17 PM, Michał Hankiewicz wrote:
> You misunderstand me.
> According to the server logs I have sent in the first message process
> received signal 2 (it is SIGINT) and according to the documentation this
> signal should not couse server crash. Wrong values of sequences does not
> mean hole in generated values, but sequence started to generate the same
> values once again causing unique constraint violation.
OK, that sounds more like a problem. It wasn't clear from your original
post that it was replaying used sequence values.
SIGINT should normally just terminate the statement, eg:
regress=# SELECT pg_sleep(100);
ERROR: canceling statement due to user request
so I agree that something isn't right here.
Is this something you've been able to reproduce? Or is it a one-off
incident so far?
--
Craig Ringer
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: ringerc@ringerc.id.au, hankiewicz@gmail.com
Subject: Re: BUG #7600: Database crash with data corruption
In-Reply-To: <507C102E.9090507@ringerc.id.au>
References: <E1TMfOh-0003f1-02@wrigleys.postgresql.org> <50794C3E.3070608@ringerc.id.au> <CAMpaLZp+ALrSyt27vtJuvW9wOc4u4TZU30Kp78gV4avo3w_DzA@mail.gmail.com> <507C102E.9090507@ringerc.id.au>
* 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