Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id D791DB5DC03 for ; Mon, 25 Jul 2011 15:20:47 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 48689-07-4 for ; Mon, 25 Jul 2011 18:20:41 +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 AC6D0B5DC5B for ; Mon, 25 Jul 2011 15:20:11 -0300 (ADT) 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 p6PIKADD012402; Mon, 25 Jul 2011 14:20:10 -0400 (EDT) To: ZIV - Beratung cc: pgsql-bugs@postgresql.org Subject: Re: TOAST tables bug restoring to PostgreSQL 9.0.4 In-reply-to: References: Comments: In-reply-to ZIV - Beratung message dated "Mon, 25 Jul 2011 20:04:16 +0200" Date: Mon, 25 Jul 2011 14:20:10 -0400 Message-ID: <12401.1311618010@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-3.093 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-1.193 X-Spam-Level: X-Archive-Number: 201107/174 X-Sequence-Number: 30786 ZIV - Beratung writes: > If I dump (pg_dump 8.3) any 8.3 PostgreSQL-Database and then > restore (pg_restore 9.0.4) to a PostgreSQL 9.0.4 Database, > the relpages information concerning restored TOAST-tables in pg_class is > wrong. > The relpages entries are all 0 (or 1(TOAST-Index-relations))! This isn't a bug, it just indicates no ANALYZE has happened yet. regards, tom lane