Skip site navigation (1) Skip section navigation (2)

pg_ctl vs. Windows locking

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-hackers-win32 <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: pg_ctl vs. Windows locking
Date: 2004-06-13 21:07:44
Message-ID: 40CCC220.3070004@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
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


Responses

pgsql-hackers-win32 by date

Next:From: pgsqlDate: 2004-06-13 23:08:20
Subject: Re: [pgsql-hackers-win32] Tablespaces
Previous:From: Martin KanichDate: 2004-06-13 18:56:19
Subject: Installer

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group