Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pg_isready #3

Open
kevinmichaelchen opened this issue May 13, 2020 · 0 comments
Open

pg_isready #3

kevinmichaelchen opened this issue May 13, 2020 · 0 comments

Comments

@kevinmichaelchen
Copy link
Member

If we use PG 9.3 or higher, we might get to use is_ready

sh -c exec pg_isready -U "postgres" -h localhost

see https://github.com/garden-io/garden/blob/ede49e5/examples/kubernetes-module/postgres/garden.yml#L139

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

No branches or pull requests

1 participant