Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id CCCB1FD17E7 for ; Mon, 16 Jul 2012 23:15:52 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SqxKH-0004SE-SH for pgsql-bugs@postgresql.org; Tue, 17 Jul 2012 02:15:51 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q6H2FZCN011928; Mon, 16 Jul 2012 22:15:35 -0400 (EDT) From: Tom Lane To: Mike Wilson cc: Bruce Momjian , pgsql-bugs@postgresql.org Subject: Re: BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2) In-reply-to: <8A0530E7-4D74-41BD-BD48-A30E9B31D172@gmail.com> References: <13290.1342133046@sss.pgh.pa.us> <20120712224929.GB25074@momjian.us> <517A874F-B310-4340-803D-EC8625C8B497@gmail.com> <20120713015241.GA15443@momjian.us> <8D0918C1-39A0-429A-96DB-997BE362141A@gmail.com> <23299.1342388728@sss.pgh.pa.us> <8A0530E7-4D74-41BD-BD48-A30E9B31D172@gmail.com> Comments: In-reply-to Mike Wilson message dated "Mon, 16 Jul 2012 12:56:25 -0700" Date: Mon, 16 Jul 2012 22:15:35 -0400 Message-ID: <11927.1342491335@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/131 X-Sequence-Number: 33607 Mike Wilson writes: > Just for my interest I also created a new PG 842 db (initdb) and put > some sample data it it and successfully did a pg_upgrade from 842 -> > 920b2. Whatever the issue is it seems to be related to my actual > database as a sample db conversion works. Yeah, I was suspecting that, because there's no obvious problem in the part of pg_upgrade that your stack trace fingers. What we need to do next is get something that one of the PG developers can put under a microscope. What I would suggest first is doing a "pg_dumpall -s" (ie no data) of your database, and seeing whether loading that into 8.4 produces a database on which pg_upgrade fails. If so, then you could send us that dump (perhaps after some sanitizing of names) and we could have at it. If you aren't able to create a self-contained reproducible case in this way, the only other way forward is for you to debug it yourself or let one of the PG developers have access to your system to poke at it. regards, tom lane