Re: Where is 'createdb'? - Mailing list pgsql-general

From Boszormenyi Zoltan
Subject Re: Where is 'createdb'?
Date
Msg-id 5092E550.2090500@cybertec.at
Whole thread Raw
In response to Where is 'createdb'?  ("Kevin Burton" <rkevinburton@charter.net>)
Responses Re: Where is 'createdb'?  (Steve Crawford <scrawford@pinpointresearch.com>)
List 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 by date:

Previous
From: "Svancara, Randall"
Date:
Subject: Re: PostgreSQL 8.3 with Java 7
Next
From: Steve Crawford
Date:
Subject: Re: Where is 'createdb'?