Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3DA271337B83 for ; Thu, 14 Apr 2011 16:25:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 70898-02 for ; Thu, 14 Apr 2011 19:25:20 +0000 (UTC) X-Greylist: delayed 00:15:04.947615 by SQLgrey-1.7.6 Received: from hm1831-34.locaweb.com.br (hm1831-34.locaweb.com.br [189.126.112.54]) by mail.postgresql.org (Postfix) with ESMTP id E1E32133616B for ; Thu, 14 Apr 2011 16:25:19 -0300 (ADT) Received: from hm2076.locaweb.com.br (189.126.112.72) by hm1831-34.locaweb.com.br (PowerMTA(TM) v3.5r15) id hkt52012li8j for ; Thu, 14 Apr 2011 16:10:13 -0300 (envelope-from ) Received: from frink0002.locaweb.com.br (frink0002.email.locaweb.com.br [10.20.54.32]) by hm2076.locaweb.com.br (Postfix) with ESMTP id A757E341023 for ; Thu, 14 Apr 2011 16:10:12 -0300 (BRT) Received: from cl09.mobimail.com (hm4462.email.locaweb.com.br [186.202.9.37]) by frink0002.locaweb.com.br (Postfix) with ESMTP id 6730B11A1F8 for ; Thu, 14 Apr 2011 16:08:16 -0300 (BRT) Received: from [200.232.169.253] (account csotto@sistemassim.com.br HELO csottoDell) by hm4462.cl09.mobimail.com (CommuniGate Pro SMTP 5.3.8) with ESMTPA id 5302201 for pgsql-admin@postgresql.org; Thu, 14 Apr 2011 16:08:17 -0300 From: "Carlos Sotto Maior \(SIM\)" To: References: <9cd57df6-665f-41b0-899e-efe070e2e50e@f30g2000yqa.googlegroups.com> <20110409143145.GM4548@tamriel.snowman.net> In-Reply-To: <20110409143145.GM4548@tamriel.snowman.net> Subject: RES: 20110408pg upgrade fix: How do I know if I am being affected before errors occur Date: Thu, 14 Apr 2011 16:07:57 -0300 Message-ID: <00bc01cbfad7$4e67f6e0$eb37e4a0$@sistemassim.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQLe0mm1cPvm+EOHw1h8pkD6upg9sADdkJw7kjEZB/A= Content-Language: pt-br X-Virus-Scanned: clamav-milter 0.97 at hm2076 X-Virus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.8 tagged_above=-10 required=5 tests=BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201104/141 X-Sequence-Number: 37322 Hi,=20 I just noticed this thread today.=20 I am running 9.0.3. I Read the 20110408 upgrade fix announcement, = checked pg_clog/ and noticed that it show only a single 0000 file. I understand I may be hit by the mentioned problem. Yes, I do have all tar archives available, but since my Database is relatively small I can afford dumping / recreating and restoring this = night which is great. My questions are: Having a single 0000 in the pg_clog directory is indicative that my = database has been hit ? If I run a database wise 'vacuum freeze' and all goes well does it means = I do not have to take any action? Dumping and recreating the data base would be my best option to get rid = of this potential problem. Correct ? Thanks, Carlos Sotto Maior +55 11 8244-7899 csotto@sistemassim.com.br Sistemas Sim Servi=E7os e Tecnologia Ltda. +55 11 5041-3086 Rua Tenente Gomes Ribeiro, 78 Vila Clementino (Pr=F3ximo ao Metro Santa Cruz) S=E3o Paulo - SP=20 04038-040 -----Mensagem original----- De: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] Em nome de Stephen Frost Enviada em: s=E1bado, 9 de abril de 2011 11:32 Para: Erwin Brandstetter Cc: pgsql-admin@postgresql.org Assunto: Re: [ADMIN] 20110408pg upgrade fix: How do I know if I am being affected before errors occur Erwin, * Erwin Brandstetter (brsaweda@gmail.com) wrote: > - Can applying the proposed fix break anything if the db wasn't=20 > affected to begin with? Running a database-wide 'vacuum freeze;' will either succeed (and all = will be well), or it'll generate the errors in the message (in which case = you'll need to restore the CLOG files, as at the wiki page, and then re-run the 'vacuum freeze;'). Thanks, Stephen