Re: bug? - Mailing list pgsql-bugs

From John R Pierce
Subject Re: bug?
Date
Msg-id 9c3f8a29-a76e-ffb4-cf0b-c878433c29d4@hogranch.com
Whole thread Raw
In response to bug?  (Alexander Mills <alexander.d.mills@gmail.com>)
Responses Re: bug?  (Alexander Mills <alexander.d.mills@gmail.com>)
List pgsql-bugs
On 10/21/2016 3:03 PM, Alexander Mills wrote:
> sfoc02q106hg8wm:crucible-poc-discovery t_millal$ psql -h
> $(docker-machine ip) -U pguser
> Password for user pguser:
> psql: FATAL:  database "pguser" does not exist
>
>
> I gave it the -U option, so why does it say
>
> "database "pguser" does not exist"

you didn't specify a database name, just a host and user.  I believe it
defaults to a database named the same as the user if you don't specify it.


--
john r pierce, recycling bits in santa cruz

pgsql-bugs by date:

Previous
From: Alexander Mills
Date:
Subject: bug?
Next
From: Alexander Mills
Date:
Subject: Re: bug?