pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Edmund Horner <ejrh00@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: PostgreSQL 9.2 beta1's pg_upgrade fails on Windows XP
Date: Thu, 24 May 2012 09:59:56 -0400
Message-ID: <20120524135956.GH10306@momjian.us> (raw)
In-Reply-To: <CABUevEx5Y_CnktejAjLEC5B0i0xAdAKdoQH9nhrzSHECLRPeyA@mail.gmail.com>
References: <CAMyN-kD76ptQ8pMDGw7ci_fLPUx-Z03gAdALX8dTvTdQ7GurEA@mail.gmail.com>
	<4FBB36F2.6060601@ringerc.id.au>
	<CAMyN-kCd+h2GJJcF9EedUHCJxExq2HhFLu=dgGHY4a74OmfDew@mail.gmail.com>
	<CABUevEwF=3D7GxnPqh+K8qMsHNtVp9OS7Z5LQdm+JYR-Ystpaw@mail.gmail.com>
	<20120524003302.GF10306@momjian.us>
	<CAMyN-kAFE_BXobh_aYcCsgPPMgcKQ3UfosTqqkJWro2wvqLWJg@mail.gmail.com>
	<CABUevEx5Y_CnktejAjLEC5B0i0xAdAKdoQH9nhrzSHECLRPeyA@mail.gmail.com>

On Thu, May 24, 2012 at 03:42:25PM +0200, Magnus Hagander wrote:
> On Thu, May 24, 2012 at 2:40 AM, Edmund Horner <ejrh00@gmail.com> wrote:
> > On 24 May 2012 12:33, Bruce Momjian <bruce@momjian.us> 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  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +



view thread (17+ messages)  latest in thread

Message-ID: <20120524135956.GH10306@momjian.us>
Permalink:  ../20120524135956.GH10306@momjian.us/
Also on:    postgresql.org/message-id/20120524135956.GH10306@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bruce@momjian.us, magnus@hagander.net, ejrh00@gmail.com
  Subject: Re: PostgreSQL 9.2 beta1's pg_upgrade fails on Windows XP
  In-Reply-To: <20120524135956.GH10306@momjian.us>
  References: <CAMyN-kD76ptQ8pMDGw7ci_fLPUx-Z03gAdALX8dTvTdQ7GurEA@mail.gmail.com> <4FBB36F2.6060601@ringerc.id.au> <CAMyN-kCd+h2GJJcF9EedUHCJxExq2HhFLu=dgGHY4a74OmfDew@mail.gmail.com> <CABUevEwF=3D7GxnPqh+K8qMsHNtVp9OS7Z5LQdm+JYR-Ystpaw@mail.gmail.com> <20120524003302.GF10306@momjian.us> <CAMyN-kAFE_BXobh_aYcCsgPPMgcKQ3UfosTqqkJWro2wvqLWJg@mail.gmail.com> <CABUevEx5Y_CnktejAjLEC5B0i0xAdAKdoQH9nhrzSHECLRPeyA@mail.gmail.com> <20120524135956.GH10306@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox