Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1THeib-0000P7-GO for pgsql-bugs@postgresql.org; Fri, 28 Sep 2012 17:51:17 +0000 Received: from ch-smtp04.sth.basefarm.net ([80.76.153.5]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1THeiZ-0005yd-OU for pgsql-bugs@postgresql.org; Fri, 28 Sep 2012 17:51:17 +0000 Received: from c83-251-133-196.bredband.comhem.se ([83.251.133.196]:47415 helo=[10.100.0.2]) by ch-smtp04.sth.basefarm.net with esmtp (Exim 4.77) (envelope-from ) id 1THehP-00084Z-EY; Fri, 28 Sep 2012 19:50:05 +0200 Message-ID: <5065E34C.7030109@mksoft.nu> Date: Fri, 28 Sep 2012 19:50:04 +0200 From: =?ISO-8859-15?Q?Mikael_Kjellstr=F6m?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: Corrupt view in PostgreSQL 9.0.9 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> <11237.1348853978@sss.pgh.pa.us> In-Reply-To: <11237.1348853978@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 83.251.133.196 X-Scan-Result: No virus found in message 1THehP-00084Z-EY. X-Scan-Signature: ch-smtp04.sth.basefarm.net 1THehP-00084Z-EY 4989e791bdf6b1b3ed30704982f1fd7e X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201209/303 X-Sequence-Number: 34297 On 2012-09-28 19:39, Tom Lane wrote: > =?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. Ok. I've done just that. I dumped the database, dropped it and then created it and restored the backup. All the data seems to be there also at a first glance. I also took the oppertunity to compile and upgrade to 9.0.10 when I had the chance. Thanks for all the help. /Mikael