Re: Where is 'createdb'?

From: "Kevin Burton" <rkevinburton(at)charter(dot)net>
To: "'Steve Crawford'" <scrawford(at)pinpointresearch(dot)com>, "'Boszormenyi Zoltan'" <zb(at)cybertec(dot)at>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Where is 'createdb'?
Date: 2012-11-01 21:49:27
Message-ID: 026601cdb87a$c3e61890$4bb249b0$@charter.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I watched while the OS was installed and it looked like postgres was
installed but the Ubuntu package apparently didn’t install it all or it
didn’t install it correctly.

From: Steve Crawford [mailto:scrawford(at)pinpointresearch(dot)com]
Sent: Thursday, November 01, 2012 4:43 PM
To: Boszormenyi Zoltan
Cc: Kevin Burton; pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Where is 'createdb'?

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Burton 2012-11-01 21:56:11 Re: role does not exist
Previous Message Steve Crawford 2012-11-01 21:42:59 Re: Where is 'createdb'?