pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Fred Parkinson <FredP@abag.ca.gov>
To: pgsql-admin@postgresql.org
Subject: Re: Starting psql without a database?
Date: Wed, 27 Apr 2011 15:05:21 -0500
Message-ID: <4DB830B1020000250003CF73@gw.wicourts.gov> (raw)
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>

"Fred Parkinson" <FredP@abag.ca.gov> wrote:
 
> 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?
 
One is in the "PostgreSQL Client Applications" section, along with
psql and pg_dump.  The other is in the "SQL Commands" section. 
Applications run in the OS shell, while SQL commands run in a
database session.
 
-Kevin



view thread (5+ messages)  latest in thread

Message-ID: <4DB830B1020000250003CF73@gw.wicourts.gov>
Permalink:  ../4DB830B1020000250003CF73@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4DB830B1020000250003CF73@gw.wicourts.gov

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, FredP@abag.ca.gov
  Subject: Re: Starting psql without a database?
  In-Reply-To: <4DB830B1020000250003CF73@gw.wicourts.gov>

* 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