Обсуждение: initdb not included?

Поиск
Список
Период
Сортировка

initdb not included?

От
Mike Schiraldi
Дата:
I just installed postgresql-7.1.3-2 by RPM, and have been following the
instructions at www.postgresql.org/idocs/index.php?creating-cluster.html

These instructions say, "To initialize a database cluster, use the command
initdb, which is installed with PostgreSQL." However, i have no such program
on my system.

$ rpm -ql postgresql | grep initdb
/usr/share/doc/postgresql-7.1.3/html/app-initdb.html

That's it.

Are these instructions outdated, or do i need to install initdb some other
way?

(Please cc: me in the response; i know it's bad netiquette, but i'm not
subscribed)

Вложения

Re: initdb not included?

От
"Josh Berkus"
Дата:
Mike,

> I just installed postgresql-7.1.3-2 by RPM, and have been following the
> instructions at www.postgresql.org/idocs/index.php?creating-cluster.html
>
> These instructions say, "To initialize a database cluster, use the command
> initdb, which is installed with PostgreSQL." However, i have no such program
> on my system.
>
> $ rpm -ql postgresql | grep initdb
> /usr/share/doc/postgresql-7.1.3/html/app-initdb.html

Where did you get this RPM?  Initdb is very much required.  Even if the RPM
 runs initdb for you, it would still have to include it.

> (Please cc: me in the response; i know it's bad netiquette, but i'm not
> subscribed)

Consider subscribing.  There is a constant stream of useful advice for the
 Pgsql newbie on this list, and if you ask a question that has already been
 answered, you are more likely than not to be directed to the list archives.

-Josh

______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco