"Sahagian, David" writes:
> Using Postgres 9.1
> (1)
> Simulate a "power failure" by hitting "Restart" on my VMware Workstation.
> (2)
> Turn on the VM (without any script removing lock or socket file).
> (3)
> Try to start postgres.
> $ pgsql/bin/pg_ctl start -D pgdata
> server starting
> 2013-01
Using Postgres 9.1
(1)
Simulate a "power failure" by hitting "Restart" on my VMware Workstation.
(2)
Turn on the VM (without any script removing lock or socket file).
(3)
Try to start postgres.
$ pgsql/bin/pg_ctl start -D pgdata
server starting
2013-01-14 FATAL: lock file "/tmp/.s.PGSQL.5432.lo