Re: Where is 'createdb'?

From: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
To: Kevin Burton <rkevinburton(at)charter(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Where is 'createdb'?
Date: 2012-11-01 21:10:40
Message-ID: 5092E550.2090500@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Crawford 2012-11-01 21:42:59 Re: Where is 'createdb'?
Previous Message Svancara, Randall 2012-11-01 19:44:23 Re: PostgreSQL 8.3 with Java 7