Re: SQL-commands does not work

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: SQL-commands does not work
Дата
Msg-id 20060619202728.17201.qmail@web31810.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: SQL-commands does not work  ("Christo Romberg" <coromberg@gmail.com>)
Список pgsql-novice
> When running *createdb mydb; *I get the following error message:
>
> ERROR:  syntax error at or near "createdb" at character 1
> LINE 1: createdb mydb;
>         ^
>
> Why can't I use createdb instead of create database?
> Same error occur when trying many other commands.

createdb is a linux/DOS shell command not a PostgreSQL SQL command.

You would find createdb in your ".../bin/" directory.

Notice:
http://www.die.net/doc/linux/man/man1/createdb.1.html

Hope this explains it a little bit better.

Regards,

Richard Broersma Jr.


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

Предыдущее
От: "Christo Romberg"
Дата:
Сообщение: Re: SQL-commands does not work
Следующее
От: "Corey"
Дата:
Сообщение: get a pkey/id back from/after an insert