Re: Starting psql without a database?

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Fred Parkinson" <FredP(at)abag(dot)ca(dot)gov>,<pgsql-admin(at)postgresql(dot)org>
Subject: Re: Starting psql without a database?
Date: 2011-04-27 20:05:21
Message-ID: 4DB830B1020000250003CF73@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Fred Parkinson" <FredP(at)abag(dot)ca(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2011-04-27 20:15:49 Re: Starting psql without a database?
Previous Message Fred Parkinson 2011-04-27 19:44:51 Re: Starting psql without a database?