Re: cannot makedb

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cannot makedb
Дата
Msg-id 22561.1112110453@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: cannot makedb  ("Van Ingen, Lane" <lvaningen@ESNCC.com>)
Список pgsql-novice
"Van Ingen, Lane" <lvaningen@ESNCC.com> writes:
> There is no such command (that I know of). Looks like you really want to do a createdb or CREATE DATABASE
> command. createdb can be issued from an operating system prompt; CREATE DATABASE would be executed from
> inside psql. Both will crteate a database for you.

Also, the reason "nothing happened" is you didn't enter a semicolon.
A SQL command isn't complete until you do.  Had you typed "makedb mydb;"
then at least you'd have gotten a SQL syntax error, which might have
led your thoughts in the correct direction ...

            regards, tom lane

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

Предыдущее
От: Terry.Arnold@Bull.com
Дата:
Сообщение: oracle tools
Следующее
От: "Cima"
Дата:
Сообщение: Calling Stored Procedures from PHP