Re: pg_ctl vs. Windows locking
От | Bruce Momjian |
---|---|
Тема | Re: pg_ctl vs. Windows locking |
Дата | |
Msg-id | 200406132344.i5DNiw025070@candle.pha.pa.us обсуждение исходный текст |
Ответ на | pg_ctl vs. Windows locking (Andrew Dunstan <andrew@dunslane.net>) |
Ответы |
Re: pg_ctl vs. Windows locking
|
Список | 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 onrestart - 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@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-hackers-win32 по дате отправления: