Re: syntax errors at "line 1" when executing every command

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: syntax errors at "line 1" when executing every command
Дата
Msg-id fq77l3$5rs$1@ger.gmane.org
обсуждение исходный текст
Ответ на syntax errors at "line 1" when executing every command  ("Steven De Vriendt" <gisaalter@gmail.com>)
Список pgsql-general
Steven De Vriendt wrote on 28.02.2008 21:42:
> Hi list,
>
> I'm using the latest postgreSQL with the lastest postgis.
> When executing every command I want to use, I get the following error
> message:
>
> postgis=# createdb;
> ERROR:  syntax error at or near "createdb"
> LINE 1: createdb;
>             ^
>
> I can use psql to reach my database, but after that I'm finished.
> Can't use any command. I thought this was a Vista (PATH) issue
> so I turned to Windows XP, however, I encounter the exact
> same issue. What am I doing wrong ??

createdb is an OS-level command, it is not a psql command!
The equivalent SQL command is "CREATE DATABASE"

Thomas

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

Предыдущее
От: Decibel!
Дата:
Сообщение: Space wasted by denormalized data
Следующее
От: Colin Wetherbee
Дата:
Сообщение: Re: Space wasted by denormalized data