Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 962CC1337B5C for ; Thu, 10 Feb 2011 23:28:39 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 79586-05 for ; Fri, 11 Feb 2011 03:28:06 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 384D4133616B for ; Thu, 10 Feb 2011 23:28:04 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p1B3S1wD013144; Thu, 10 Feb 2011 22:28:02 -0500 (EST) To: "Dag Lem" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #5876: Incorrectly reported column value In-reply-to: <201102101018.p1AAINGa001460@wwwmaster.postgresql.org> References: <201102101018.p1AAINGa001460@wwwmaster.postgresql.org> Comments: In-reply-to "Dag Lem" message dated "Thu, 10 Feb 2011 10:18:23 +0000" Date: Thu, 10 Feb 2011 22:28:01 -0500 Message-ID: <13143.1297394881@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/106 X-Sequence-Number: 29378 "Dag Lem" writes: > The effect of this (pretty serious) bug is that I am able to insert a value > into an integer column and consistently get an entirely different value read > out later. > Unfortunately this happens on a large data set (3.6M rows), and I am not > able to either reproduce with a smaller data set nor provide the data > set. Maybe you can duplicate the problem with a synthesized or anonymized data set? It's unlikely anybody will spend much time on such a vague report as this. > I should mention that I got another problem with the same data set on > PostgreSQL 9.0.2, IIRC "unrecognized rbtree node state: 87" (not 100% sure > about the state number since I immediately upgraded to 9.0.3 and got the > present bug instead). Not the same query, surely? AFAIR the rbtree code is only used in GIN indexes at the moment, so this would presumably be related to an update of that GIN index. But again, it's hard to expect somebody to go looking for this without a more definite way of producing the problem. regards, tom lane