Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 3E8717591C7 for ; Thu, 24 May 2012 11:00:27 -0300 (ADT) Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SXYaK-0000cf-1c for pgsql-bugs@postgresql.org; Thu, 24 May 2012 14:00:23 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1SXYa4-00047g-Fi; Thu, 24 May 2012 09:59:56 -0400 Date: Thu, 24 May 2012 09:59:56 -0400 From: Bruce Momjian To: Magnus Hagander Cc: Edmund Horner , pgsql-bugs@postgresql.org Subject: Re: PostgreSQL 9.2 beta1's pg_upgrade fails on Windows XP Message-ID: <20120524135956.GH10306@momjian.us> References: <4FBB36F2.6060601@ringerc.id.au> <20120524003302.GF10306@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201205/182 X-Sequence-Number: 33153 On Thu, May 24, 2012 at 03:42:25PM +0200, Magnus Hagander wrote: > On Thu, May 24, 2012 at 2:40 AM, Edmund Horner wrote: > > On 24 May 2012 12:33, Bruce Momjian wrote: > >> I have applied the attached patch which should fix the problem.   How > >> can we get Edmund a copy of a new binary for testing?  Does he have to > >> wait for beta2? > > > > My uneducated guess is that your patch will fix the problem. > > > > But I don't think I'm up to compiling it myself.  If someone reputable > > can send me a new pg_upgrade.exe binary I'm happy to run it. > > I've built a new one off git master + Bruce's patch. You can get it > from http://www.hagander.net/tmp/pg_upgrade.zip - please see if that > one works for you. Thanks, but thinking more, I am more concerned. Here is what we think is happening (ah, flashbacks to the PG Windows port): pg_ctl start > file1 pg_dumpall > file1 pg_ctl stop > file1 generates a file share error for pg_dump. I have replaced that with: pg_ctl start > file2 pg_dumpall > file1 pg_ctl stop > file2 I am now concerned that 'pg_ctl stop' is going to give us a share violation. The fix will be to use 'file3' for pg_ctl stop. Can I get an updated report to see if that is accurate? Thanks. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +