Re: psql: FATAL: database “” does not exist - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: psql: FATAL: database “” does not exist
Date
Msg-id CAKFQuwbCEs1QVwawSasP=u3fOMr_AvgQXd8fni5L0tr9+dQPvA@mail.gmail.com
Whole thread Raw
In response to psql: FATAL: database “” does not exist  (Naima Shaikh <naimashaikh550@gmail.com>)
List pgsql-bugs
On Tue, Oct 1, 2019 at 6:17 AM Naima Shaikh <naimashaikh550@gmail.com> wrote:
How to fix when  database does not exist error comes while you already have it ?

This isn't a bug and almost certainly the database does indeed exist in whatever cluster the command you are running is being executed against.  There isn't a "fix", only a methodical exploration of the various moving parts in your environment to find out where the gap between expectation and reality is (or where there is a misconfiguration).

David J.

pgsql-bugs by date:

Previous
From: David Raymond
Date:
Subject: RE: BUG #16031: Group by returns duplicate groups
Next
From: Andrew Gierth
Date:
Subject: Re: BUG #16031: Group by returns duplicate groups