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

From PG Bug reporting form
Subject BUG #19002: `pg_isready` unexpectedly succeeds on incorrect `--dbname` and/or `--username`
Date
Msg-id 19002-b4d2fab028d17101@postgresql.org
Whole thread Raw
Responses Re: BUG #19002: `pg_isready` unexpectedly succeeds on incorrect `--dbname` and/or `--username`
List pgsql-bugs
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)


pgsql-bugs by date:

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