Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TNklg-0003TT-0d for pgsql-bugs@postgresql.org; Mon, 15 Oct 2012 13:31:40 +0000 Received: from mail-pb0-f46.google.com ([209.85.160.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TNklZ-0008Om-C0 for pgsql-bugs@postgresql.org; Mon, 15 Oct 2012 13:31:38 +0000 Received: by mail-pb0-f46.google.com with SMTP id rr4so4933108pbb.19 for ; Mon, 15 Oct 2012 06:31:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=y6OquPD+iJQO6jRU9xG744T/d8icZleT4wpHt9vdURE=; b=Lqed0eRByoiTuoGiwTEQfN5o89dDJ+SY6Ege7nAbWKHQM8vbCYh2q7y0/wgwaGyYlW xHzIcWRI09xihUJ1R9LweM/+DFWCZ1PmvXNkC64WFlPSaV8jvRjA+3BdrDwc8jUm8OVw gZ5q6aedb0StrY+mQdf+7A7b/i1xug7s7qLuXVd2HLrsivMYfhaS5zWfu6vyH8Ljqabv y628R0A6VcYVIhyM0T8he3YiJFZ6V65erax3NjHaoxPqqEwy62mH+O5s0s6QEILNcE4p HjoSOy6s8QbxbJD01BtIhByA7z3/m/vkBBi65n2Mqr+NhPQw/WfLYlD/SgTeCXis7ON+ sdBA== Received: by 10.68.129.5 with SMTP id ns5mr36999014pbb.103.1350307892387; Mon, 15 Oct 2012 06:31:32 -0700 (PDT) Received: from ayaki.localdomain (124-148-78-49.dyn.iinet.net.au. [124.148.78.49]) by mx.google.com with ESMTPS id ky6sm9081673pbc.18.2012.10.15.06.31.29 (version=SSLv3 cipher=OTHER); Mon, 15 Oct 2012 06:31:31 -0700 (PDT) Message-ID: <507C102E.9090507@ringerc.id.au> Date: Mon, 15 Oct 2012 21:31:26 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: =?UTF-8?B?TWljaGHFgiBIYW5raWV3aWN6?= CC: pgsql-bugs@postgresql.org Subject: Re: BUG #7600: Database crash with data corruption References: <50794C3E.3070608@ringerc.id.au> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQlGb9vEqvolIV67FPmA469Gefnd49DLM0Bhhyq3Jyu/AETqdkk+epNoN19G0q+jmwmSayfn X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201210/138 X-Sequence-Number: 34438 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