This repository was archived by the owner on May 12, 2020. It is now read-only.
This repository was archived by the owner on May 12, 2020. It is now read-only.
When using the pg_ctl command pg does not shutdown #38
Open
Description
When using pg_ctl instead of postgres to start the db the pg process is not shutdown properly. It attempts to kill a non-existent pid and therefore pg continues to run after the process dies.
To workaround the issue I used ProcessBuilder to run "/path/to/pg_ctl -D </path/to/datadir> -w stop" in a shutdown hook.