Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 6C42617B36C2 for ; Sun, 18 Mar 2012 23:33:50 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S9SPp-0003zI-Ow for pgsql-bugs@postgresql.org; Mon, 19 Mar 2012 02:33:49 +0000 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 q2J2XVGt025599; Sun, 18 Mar 2012 22:33:31 -0400 (EDT) To: Aren Cambre cc: Kevin Grittner , pgsql-bugs@postgresql.org Subject: Re: BUG #6535: LEFT JOIN on large table is altering data In-reply-to: References: <10102.1331920604@sss.pgh.pa.us> <4F65FDBE02000025000463D6@gw.wicourts.gov> <4F66005202000025000463DC@gw.wicourts.gov> Comments: In-reply-to Aren Cambre message dated "Sun, 18 Mar 2012 21:14:48 -0500" Date: Sun, 18 Mar 2012 22:33:31 -0400 Message-ID: <25598.1332124411@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201203/138 X-Sequence-Number: 32699 Aren Cambre writes: > Just want to again emphasize that my database state has changed, so I am > not sure this is remains a good case for finding a bug. Your description of an apparently-all-nulls row sounds a great deal like data corruption. I suspect there may be more wrong than just the one row, and that that's what's leading to the inconsistent results. It'd be worthwhile to run hardware diagnostics (memtest, disk tests), make sure you are on the latest minor release of Postgres, and perhaps do a database dump and reload. (If the latter seems impractical, at least consider reindexing everything.) regards, tom lane