Skip to content
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
@scottmf

Description

@scottmf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions