Re: psql: FATAL: database “<text>” does not exist

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Naima Shaikh <naimashaikh550(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: psql: FATAL: database “<text>” does not exist
Date: 2019-10-01 15:26:40
Message-ID: CAKFQuwbCEs1QVwawSasP=u3fOMr_AvgQXd8fni5L0tr9+dQPvA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Oct 1, 2019 at 6:17 AM Naima Shaikh <naimashaikh550(at)gmail(dot)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.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Gierth 2019-10-01 15:28:29 Re: BUG #16031: Group by returns duplicate groups
Previous Message David Raymond 2019-10-01 15:22:26 RE: BUG #16031: Group by returns duplicate groups