Re: bug?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: Alexander Mills <alexander(dot)d(dot)mills(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: bug?
Date: 2016-10-21 22:36:38
Message-ID: 9c3f8a29-a76e-ffb4-cf0b-c878433c29d4@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

  • bug? at 2016-10-21 22:03:37 from Alexander Mills

Responses

  • Re: bug? at 2016-10-21 23:03:17 from Alexander Mills

Browse pgsql-bugs by date

  From Date Subject
Next Message Alexander Mills 2016-10-21 23:03:17 Re: bug?
Previous Message Alexander Mills 2016-10-21 22:03:37 bug?