Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id CE97C86A54B for ; Wed, 18 Jan 2012 18:28:26 -0400 (AST) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RndzS-0001Pw-OF for pgsql-admin@postgresql.org; Wed, 18 Jan 2012 22:28:27 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Wed, 18 Jan 2012 16:28:09 -0600 Message-Id: <4F16F3180200002500044986@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Wed, 18 Jan 2012 16:28:08 -0600 From: "Kevin Grittner" To: "pgsql-admin" , "Benjamin Krajmalnik" Subject: Re: Upgrading from 9.0.3 to latest References: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201201/94 X-Sequence-Number: 39006 "Benjamin Krajmalnik" wrote: > I will be taking down all of our infrastructure to update firmware > on the controllers due to a bug affecting BBU (wonderful J ). > > I was thinking of taking the opportunity and upgrading pg from > 9.0.3 (amd64 on Freebsd 8.1) to the latest version 9.0.6. That sounds like a good idea. > In the release notes for 9.0.6, it mentions: > > fix bugs in information_schema.referential_constraints view (Tom > Lane) > > Is the dropping and recreation of this mandatory, If you don't do it, I don't think you're any worse off than you were while at version 9.0.3; you will just not have fixed the view. > can it be done at any time while the server is already being > pounded with data? I would tend to do it as part of the upgrade process. I don't think it take very long to run. If you do it while queries are running, you will get errors if any of them reference the information_schema schema, they will get runtime errors on missing objects. Probably more important is to make sure that you have considered this issue, and taken action if necessary: http://wiki.postgresql.org/wiki/20110408pg_upgrade_fix -Kevin