Re: pg_upgrade issues

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: depstein(at)alliedtesting(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org, Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Subject: Re: pg_upgrade issues
Date: 2010-06-22 05:06:26
Message-ID: 201006220506.o5M56Qp04407@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

depstein(at)alliedtesting(dot)com wrote:
BBBBBB> PostgreSQL 9.0 beta 2
> Windows XP Professional SP2
>
> While migrating the database from 8.4 to 9.0 using pg_upgrade (now part of the Postgres project), the following issues came up:
>
> 1. When using the --logfile option, pg_upgrade quits with an error like this:
>
> The process cannot access the file because it is being used by another process.
>
> There were problems executing ""C:\PostgreSQL\8.4\bin/pg_ctl" -l "pg_upgrade.log
> " -D "D:\PostgreSQL84_matlab1b" -o "-p 5432 -c autovacuum=off -c autovacuum_free
> ze_max_age=2000000000" start >> "pg_upgrade.log" 2>&1"

Hiroshi, can you comment on the above bug report? I was able to
reproduce this on XP. I think we added -l for Win32 because the code
says:

/* use -l for Win32 */
snprintf(cmd, sizeof(cmd),
SYSTEMQUOTE "\"%s/pg_ctl\" -l \"%s\" -D \"%s\" "

but I don't remember the details, and cvs.pgfoundry.org is down right
now. Thanks.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ None of us is going to be here forever. +

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Mengaziol 2010-06-22 12:30:22 BUG #5520: PG unable to find java stored procs without input parameters
Previous Message Alvaro Herrera 2010-06-22 04:28:01 Re: Bug in PL/pgSQL FOR cursor variant

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2010-06-22 07:54:16 Re: system views for walsender activity
Previous Message Takahiro Itagaki 2010-06-22 04:40:49 Re: system views for walsender activity