| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
| Cc: | pgsql-hackers-win32 <pgsql-hackers-win32(at)postgresql(dot)org> |
| Subject: | Re: pg_ctl vs. Windows locking |
| Date: | 2004-06-13 23:44:58 |
| Message-ID: | 200406132344.i5DNiw025070@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers-win32 |
Good report. Would you check to see if a sleep or loop checking if the
file is unused would help?
---------------------------------------------------------------------------
Andrew Dunstan wrote:
>
> pg_ctl seems to be working for Windows now, except that there are occasional Windows file locking issues, especially on restart - see below.
>
> cheers
>
> andrew
>
>
> C:\msys\1.0\local\pgsql>bin\pg_ctl -D data -l logfile restart
> waiting for postmaster to shut down....done
> postmaster stopped
> postmaster starting
>
> C:\msys\1.0\local\pgsql>
> C:\msys\1.0\local\pgsql>
> C:\msys\1.0\local\pgsql>
> C:\msys\1.0\local\pgsql>
> C:\msys\1.0\local\pgsql>bin\pg_ctl -D data -l logfile restart
> waiting for postmaster to shut down....done
> postmaster stopped
> The process cannot access the file because it is being used by another process.
> Unable to run the postmaster binary
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2004-06-13 23:57:18 | Re: [pgsql-hackers-win32] [PATCHES] Compiling libpq with VisualC |
| Previous Message | pgsql | 2004-06-13 23:17:49 | Re: [PATCHES] Compiling libpq with VisualC |