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

From Steve Crawford
Subject Re: Where is 'createdb'?
Date
Msg-id 5092ECE3.70302@pinpointresearch.com
Whole thread Raw
In response to Re: Where is 'createdb'?  (Boszormenyi Zoltan <zb@cybertec.at>)
Responses Re: Where is 'createdb'?  ("Kevin Burton" <rkevinburton@charter.net>)
List pgsql-general
On 11/01/2012 02:10 PM, Boszormenyi Zoltan wrote:
2012-11-01 16:32 keltezéssel, Kevin Burton írta:
...I get ‘createdb command not found’. Are the authors out of date? What is the current command?

 



The instructions start with "Once you have Postgres installed...".
Since the command is not available, you don't have Postgres installed.
This is not correct. What it means is that the command you typed is not in your search path or aliased in some way. The command may very well be available elsewhere (see my earlier post in the thread for an example of where Ubuntu places things).

$ which createdb
/usr/bin/createdb
$ rpm -q --whatprovides /usr/bin/createdb
postgresql-9.1.6-1.fc17.x86_64

Useful on rpm-based distros but I believe the OP is running a Debian-derivative which uses apt.

Cheers,
Steve

pgsql-general by date:

Previous
From: Boszormenyi Zoltan
Date:
Subject: Re: Where is 'createdb'?
Next
From: "Kevin Burton"
Date:
Subject: Re: Where is 'createdb'?