Skip to content

service/start-odk: use pg_isready#2054

Open
alxndrsn wants to merge 1 commit into
getodk:nextfrom
alxndrsn:pg_isready
Open

service/start-odk: use pg_isready#2054
alxndrsn wants to merge 1 commit into
getodk:nextfrom
alxndrsn:pg_isready

Conversation

@alxndrsn

@alxndrsn alxndrsn commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

What has been done to verify that this works as intended?

CI: if pg_isready is missing, it fails with:

./start-odk.sh: line 45: pg_isready__deliberately_wrong_command: command not found

Why is this the best possible solution? Were any other approaches considered?

  • specifically written for this job
  • provided by postgres team
  • idiomatic

See: https://www.postgresql.org/docs/current/app-pg-isready.html

How does this change impact users? Describe intentional behavior changes from code updates. What are the regression risks?

Low chance of regression, but perhaps the current approach is doing something non-obvious.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

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.

1 participant