Skip to content

Conversation

@dmitry-lipetsk
Copy link
Collaborator

This patch suggests a solution to fix an error "PID file is empty" during getting a server state data.

When pg_ctl returns this error, we are trying to find postmaster process for our data directory.

If we find it then we wait a few seconds and do the next attempt to get a server state data.

Closes #329.

…D file is empty" error

This patch suggests a solution to fix an error "PID file is empty" during getting a server state data.

When pg_ctl returns this error, we are trying to find postmaster process for our data directory.

If we find it then we wait a few seconds and do the next attempt to get server state data.

Closes postgrespro#329.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get_pg_node_state can fail (PID file is empty)

1 participant