Re: Where is 'createdb'?

Поиск
Список
Период
Сортировка
От Chris Angelico
Тема Re: Where is 'createdb'?
Дата
Msg-id CAPTjJmoeUmGprhNVX6eOB8-TA7jizk9Mzu82LSKN1052fGYK0w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Where is 'createdb'?  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-general
On Fri, Nov 2, 2012 at 2:37 AM, Magnus Hagander <magnus@hagander.net> wrote:
>
> On Thu, Nov 1, 2012 at 4:32 PM, Kevin Burton <rkevinburton@charter.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


В списке pgsql-general по дате отправления:

Предыдущее
От: Prashanth Kumar
Дата:
Сообщение: Re: Where is 'createdb'?
Следующее
От: paris strikos
Дата:
Сообщение: PostgreSQL 8.3 with Java 7