Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxiQo-0000aD-2h for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Oct 2016 22:36:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bxiQn-0000fa-FQ for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Oct 2016 22:36:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bxiQn-0000fP-33 for pgsql-bugs@postgresql.org; Fri, 21 Oct 2016 22:36:53 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxiQf-0001VJ-Pd for pgsql-bugs@postgresql.org; Fri, 21 Oct 2016 22:36:52 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id u9LMadv18026; Fri, 21 Oct 2016 15:36:39 -0700 Subject: Re: bug? To: Alexander Mills , pgsql-bugs@postgresql.org References: From: John R Pierce Message-ID: <9c3f8a29-a76e-ffb4-cf0b-c878433c29d4@hogranch.com> Date: Fri, 21 Oct 2016 15:36:38 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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