Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1THeXO-0004V3-1j for pgsql-bugs@postgresql.org; Fri, 28 Sep 2012 17:39:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1THeXM-0008WJ-C6 for pgsql-bugs@postgresql.org; Fri, 28 Sep 2012 17:39:41 +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 q8SHdciL011238; Fri, 28 Sep 2012 13:39:38 -0400 (EDT) From: Tom Lane To: =?ISO-8859-1?Q?Mikael_Kjellstr=F6m?= cc: pgsql-bugs@postgresql.org Subject: Re: Corrupt view in PostgreSQL 9.0.9 In-reply-to: <5065DF0E.3050004@mksoft.nu> References: <5065AFAB.1030305@mksoft.nu> <22618.1348842939@sss.pgh.pa.us> <5065CA70.7010500@mksoft.nu> <4179.1348851715@sss.pgh.pa.us> <5065DCDE.1080109@mksoft.nu> <8771.1348853215@sss.pgh.pa.us> <5065DF0E.3050004@mksoft.nu> Comments: In-reply-to =?ISO-8859-1?Q?Mikael_Kjellstr=F6m?= message dated "Fri, 28 Sep 2012 19:31:58 +0200" Date: Fri, 28 Sep 2012 13:39:38 -0400 Message-ID: <11237.1348853978@sss.pgh.pa.us> X-Pg-Spam-Score: -2.7 (--) X-Archive-Number: 201209/302 X-Sequence-Number: 34296 =?ISO-8859-1?Q?Mikael_Kjellstr=F6m?= writes: > Your recomendation is to restore the backup to a new database and drop > the old one, right? Right. If you've got more than one active database in this installation, it might be prudent to dump and restore the whole thing --- but in any case, you don't want to trust this database's pg_attribute anymore. regards, tom lane