pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: Alexander Mills <alexander.d.mills@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Re: bug?
Date: Fri, 21 Oct 2016 15:36:38 -0700
Message-ID: <9c3f8a29-a76e-ffb4-cf0b-c878433c29d4@hogranch.com> (raw)
In-Reply-To: <CA+KyZp5nOwzOnxmVLJkfoo_zr-OeBiP9Yci+L94BA9k7nbq3BQ@mail.gmail.com>
References: <CA+KyZp5nOwzOnxmVLJkfoo_zr-OeBiP9Yci+L94BA9k7nbq3BQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (36+ messages)  latest in thread

Message-ID: <9c3f8a29-a76e-ffb4-cf0b-c878433c29d4@hogranch.com>
Permalink:  ../9c3f8a29-a76e-ffb4-cf0b-c878433c29d4@hogranch.com/
Also on:    postgresql.org/message-id/9c3f8a29-a76e-ffb4-cf0b-c878433c29d4@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: pierce@hogranch.com, alexander.d.mills@gmail.com
  Subject: Re: bug?
  In-Reply-To: <9c3f8a29-a76e-ffb4-cf0b-c878433c29d4@hogranch.com>
  References: <CA+KyZp5nOwzOnxmVLJkfoo_zr-OeBiP9Yci+L94BA9k7nbq3BQ@mail.gmail.com> <9c3f8a29-a76e-ffb4-cf0b-c878433c29d4@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox