Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id AC1181337CCE for ; Wed, 27 Apr 2011 17:25:02 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 75705-01-2 for ; Wed, 27 Apr 2011 20:24:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id E713B1337DB6 for ; Wed, 27 Apr 2011 17:15:51 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p3RKFnvQ010190; Wed, 27 Apr 2011 16:15:50 -0400 (EDT) To: "Fred Parkinson" cc: pgsql-admin@postgresql.org, "Kevin Grittner" Subject: Re: Starting psql without a database? In-reply-to: <4DB80FC3020000A70001701D@gwia1.abag.ca.gov> References: <4DB7EF0B020000A700017002@gwia1.abag.ca.gov> <4DB801AD020000A700017012@gwia1.abag.ca.gov> <4DB801AD020000A700017012@gwia1.abag.ca.gov> <4DB81F4E020000250003CF57@gw.wicourts.gov> <4DB80FC3020000A70001701D@gwia1.abag.ca.gov> Comments: In-reply-to "Fred Parkinson" message dated "Wed, 27 Apr 2011 12:44:51 -0700" Date: Wed, 27 Apr 2011 16:15:49 -0400 Message-ID: <10189.1303935349@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/244 X-Sequence-Number: 37425 "Fred Parkinson" writes: > Was there some way to tell from the documentation that createdb is to run from the shell while CREATE DATABASE is run from the psql prompt? The reference section of the manual documents the former under "Client Applications" and the latter under "SQL Commands". regards, tom lane