Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WgI7v-0003lp-O1 for pgsql-bugs@arkaria.postgresql.org; Fri, 02 May 2014 18:24:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WgI7v-0006IV-2N for pgsql-bugs@arkaria.postgresql.org; Fri, 02 May 2014 18:24:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WgI7t-0006H7-GW for pgsql-bugs@postgresql.org; Fri, 02 May 2014 18:24:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WgI7q-0003kM-3R for pgsql-bugs@postgresql.org; Fri, 02 May 2014 18:24:01 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s42INo33002015; Fri, 2 May 2014 14:23:50 -0400 From: Tom Lane To: Nick Rupley cc: nickr@mirth.com, pgsql-bugs@postgresql.org, Alvaro Herrera Subject: Re: BUG #10189: Limit in 9.3.4 no longer works when ordering using a composite multi-type index In-reply-to: References: <20140430214055.1395.15117@wrigleys.postgresql.org> <9896.1398900139@sss.pgh.pa.us> <10587.1398901968@sss.pgh.pa.us> Comments: In-reply-to Nick Rupley message dated "Fri, 02 May 2014 08:42:41 -0700" Date: Fri, 02 May 2014 14:23:50 -0400 Message-ID: <2014.1399055030@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Nick Rupley writes: > We also tracked down every single duplicate entry and noted the time it got > inserted. What we found is that this issue only ever started happening > after we upgraded from 9.0.13 to 9.3.4. The upgrade itself doesn't seem to > be the culprit, but messages received *after* the upgrade encountered this > issue. Oh dear. You were never on any earlier 9.3.x release? If not, then there's still some unfixed bug in this area in 9.3.4. There's been one post-9.3.4 fix in this same general area: http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=c0bd128c8 but according to the commit message, at least, that bug would not have led to the symptom you're seeing, namely rows disappearing from indexes while they're still visible to seqscans. > Thanks in advance for any input, we're trying to make a self-contained test > case in the meantime... A test case would definitely help. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs