From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: samuelmarks@gmail.com
Subject: BUG #19002: `pg_isready` unexpectedly succeeds on incorrect `--dbname` and/or `--username`
Date: Tue, 29 Jul 2025 19:11:03 +0000
Message-ID: <19002-b4d2fab028d17101@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 19002
Logged by: Samuel Marks
Email address: samuelmarks@gmail.com
PostgreSQL version: 17.5
Operating system: macOS
Description:
```
/ > pg_isready -U fff
/tmp:5432 - accepting connections
/ > pg_isready -U fff -d555
/tmp:5432 - accepting connections
```
(`fff` is not a user and `555` is not a db on my installation)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, samuelmarks@gmail.com
Subject: Re: BUG #19002: `pg_isready` unexpectedly succeeds on incorrect `--dbname` and/or `--username`
In-Reply-To: <19002-b4d2fab028d17101@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox