Re: Where is 'createdb'?
От | Boszormenyi Zoltan |
---|---|
Тема | Re: Where is 'createdb'? |
Дата | |
Msg-id | 5092E550.2090500@cybertec.at обсуждение исходный текст |
Ответ на | Where is 'createdb'? ("Kevin Burton" <rkevinburton@charter.net>) |
Ответы |
Re: Where is 'createdb'?
|
Список | pgsql-general |
2012-11-01 16:32 keltezéssel, Kevin Burton írta:
This is probably a question for the authors of a book I have been reading but it may be faster to get an answer here.
I was trying to follow along in a book ‘Seven Databases in Seven Weeks’ and chapter 2 deals with PostgreSQL. One of the first things it does is issue a command ‘createdb book’. The text before this command says, “Once you have Postgres installed, create a schema called book using the following command: $ createdb book’ But when I tried to issue this command (at a Linux command prompt) I get ‘createdb command not found’. Are the authors out of date? What is the current command?
Kevin
The instructions start with "Once you have Postgres installed...".
Since the command is not available, you don't have Postgres installed.
$ which createdb
/usr/bin/createdb
$ rpm -q --whatprovides /usr/bin/createdb
postgresql-9.1.6-1.fc17.x86_64
Best regards,
Zoltán Böszörményi
-- ---------------------------------- Zoltán Böszörményi Cybertec Schönig & Schönig GmbH Gröhrmühlgasse 26 A-2700 Wiener Neustadt, Austria Web: http://www.postgresql-support.de http://www.postgresql.at/
В списке pgsql-general по дате отправления: