pg_ctl vs. Windows locking

Andrew Dunstan <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.