BUG #19002: `pg_isready` unexpectedly succeeds on incorrect `--dbname` and/or `--username`

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: samuelmarks(at)gmail(dot)com
Subject: BUG #19002: `pg_isready` unexpectedly succeeds on incorrect `--dbname` and/or `--username`
Date: 2025-07-29 19:11:03
Message-ID: 19002-b4d2fab028d17101@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 19002
Logged by: Samuel Marks
Email address: samuelmarks(at)gmail(dot)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)

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jacob Champion 2025-07-29 19:54:43 Re: BUG #19002: `pg_isready` unexpectedly succeeds on incorrect `--dbname` and/or `--username`
Previous Message Laurenz Albe 2025-07-29 15:34:21 Re: BUG #19001: PostgreSQL 17: CREATE MATERIALIZED VIEW fails with STABLE function using JSONB LATERAL joins