Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant