Re: Where is 'createdb'?

From: Chris Angelico <rosuav(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Where is 'createdb'?
Date: 2012-11-01 18:56:48
Message-ID: CAPTjJmoeUmGprhNVX6eOB8-TA7jizk9Mzu82LSKN1052fGYK0w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Nov 2, 2012 at 2:37 AM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>
> On Thu, Nov 1, 2012 at 4:32 PM, Kevin Burton <rkevinburton(at)charter(dot)net>
> wrote:
>>
>> The text before this command says, “Once
>> you have Postgres installed, create a schema called book using the following
>> command: $ createdb book’
>
> The authors are incorrect, in that this doesn't actually create a schema. It
> creates a database. but they are not out of tdate, just incorrect - it has
> never created a schema.

Sounds like the author has a MySQL background, where "schema" and
"database" are synonyms. (I have no idea why MySQL doesn't just use
"schema" and declare that there's only one "database" per install.
That would be much simpler.)

ChrisA

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Svancara, Randall 2012-11-01 19:43:34 Postgresql ShareLock problems.
Previous Message Daniel Popowich 2012-11-01 18:28:22 Using PostgreSQL for NSS databases