Skip to content

fix: specify database in Postgres healthcheck - #115

Merged
lissy93 merged 1 commit into
lissy93:mainfrom
ziti:fix/postgres-healthcheck-database
Jul 29, 2026
Merged

fix: specify database in Postgres healthcheck#115
lissy93 merged 1 commit into
lissy93:mainfrom
ziti:fix/postgres-healthcheck-database

Conversation

@ziti

@ziti ziti commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

The Compose Postgres healthcheck invokes pg_isready with a user but no database name. PostgreSQL then defaults the database name to the username, resulting in a database "<user>" does not exist log entry every five seconds when those values differ.

Related

N/A

Checklist

  • I've tested this change
  • I've followed the coding style and contribution guidelines
  • I've updated documentation (if needed)
  • I've confirmed this change is backwards compatible / won't break anything

@ziti
ziti requested a review from lissy93 as a code owner July 29, 2026 13:31
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

@ziti is attempting to deploy a commit to the AS93 Team on Vercel.

A member of the Team first needs to authorize it.

@lissy93 lissy93 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @ziti

@lissy93
lissy93 merged commit f31c9a7 into lissy93:main Jul 29, 2026
11 of 12 checks passed
@ziti
ziti deleted the fix/postgres-healthcheck-database branch July 29, 2026 14:24
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.

2 participants