Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDT33-0004jH-59 for pgsql-hackers@postgresql.org; Mon, 17 Sep 2012 04:35:05 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDT30-0003E9-OC for pgsql-hackers@postgresql.org; Mon, 17 Sep 2012 04:35:04 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1TDT2y-0006hu-Kq; Mon, 17 Sep 2012 00:35:00 -0400 Date: Mon, 17 Sep 2012 00:35:00 -0400 From: Bruce Momjian To: Tom Lane Cc: Rural Hunter , PostgreSQL-development Subject: Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed Message-ID: <20120917043500.GB20123@momjian.us> References: <5052C402.8020003@gmail.com> <20120914142616.GA11265@momjian.us> <50535302.8080000@gmail.com> <20120914183915.GA5933@momjian.us> <5053F896.60005@gmail.com> <20120915180603.GA20907@momjian.us> <505557CD.8090304@gmail.com> <20120916171746.GA24907@momjian.us> <50567E60.2000005@gmail.com> <2932.1347846538@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2932.1347846538@sss.pgh.pa.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.4 (--) X-Archive-Number: 201209/630 X-Sequence-Number: 213658 On Sun, Sep 16, 2012 at 09:48:58PM -0400, Tom Lane wrote: > Rural Hunter writes: > > # select oid, * from pg_class WHERE reltoastrelid = 16439148; > > oid | relname | relnamespace | reltype | reloftype | > > relowner | relam | relfilenode | reltablespace | relpages | reltuples | > > reltoastrelid | reltoastidxid | relhasindex | relisshared | > > relpersistence | relkind | relnatts | relchecks | relhasoids | > > relhaspkey | relhasrules | relhastriggers | relhassubclass | > > relfrozenxid | relacl | reloptions > > ----------+--------------+--------------+----------+-----------+----------+-------+-------------+---------------+----------+-----------+---------------+---------------+-------------+-------------+----------------+---------+----------+-----------+------------+------------+-------------+----------------+----------------+--------------+-----------------------------------------+------------ > > 16439145 | sql_features | 16438995 | 16439147 | 0 | > > 10 | 0 | 16439145 | 0 | 0 | 0 | > > 16439148 | 0 | f | f | p | > > r | 7 | 0 | f | f | f > > | f | f | 630449585 | > > {postgres=arwdDxt/postgres,=r/postgres} | > > (1 row) > > Well, that's even stranger, because (1) information_schema.sql_features > ought to have a toast table in either version, and (2) neither pg_dump > nor pg_upgrade ought to be attempting to dump or transfer that table. I bet pg_upgrade is picking it up from the old cluster because it has an oid >= FirstNormalObjectId and the table is not in the information schema. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +