From: Jim Nasby <decibel@decibel.org>
To: Philippe Salama <karebacnyc@yahoo.com>
Cc: PostgreSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: Well, I am making some progress with createdb/dropdb
Date: Fri, 22 Dec 2006 17:58:17 -0500
Message-ID: <5D010393-98DB-4B2B-AF12-C4991E4C6396@decibel.org> (raw)
In-Reply-To: <183140.8260.qm@web90507.mail.mud.yahoo.com>
References: <183140.8260.qm@web90507.mail.mud.yahoo.com>
On Dec 9, 2006, at 6:19 PM, Philippe Salama wrote:
> The textbook wanted me to create-db -U neil bpsimple, but I
> accidentally created it as postgres. I want to follow directions
> so future exercises will work ok.
>
> It has taken me a while to figure out that there are , in bin,
> programs such as createdb.exe which look for parameters on command
> line such as
> -U neil bpsimple
>
> So, I had to figure out how to dropdb.exe -U postgres bpsimple
>
> And then recreate it as createdb.exe -U neil bpsimple
>
> It is confusing for me to keep straight which things are .exe in
> bin, and which are command lines in psql.
I think the docs make it pretty obvious which is which, but as a rule
of thumb, people tend to capitalize SQL commands (ie: CREATE
DATABASE), but not the command-line commands.
When in doubt, there's an entire section of the docs that is a
reference to all commands.
--
Jim Nasby jim@nasby.net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: decibel@decibel.org, karebacnyc@yahoo.com
Subject: Re: Well, I am making some progress with createdb/dropdb
In-Reply-To: <5D010393-98DB-4B2B-AF12-C4991E4C6396@decibel.org>
References: <183140.8260.qm@web90507.mail.mud.yahoo.com> <5D010393-98DB-4B2B-AF12-C4991E4C6396@decibel.org>
* 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