"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