Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2007 23:41:02 +0200
From:      Erik Cederstrand <erik@cederstrand.dk>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: postgresql and initdb
Message-ID:  <4716816E.20002@cederstrand.dk>
In-Reply-To: <20071017190216.GA23322@demeter.hydra>
References:  <20071017190216.GA23322@demeter.hydra>

next in thread | previous in thread | raw e-mail | index | archive | help
Chad Perrin wrote:
> I've installed PostgreSQL here on FreeBSD 6.2-RELEASE, and I'm a
> little confused by the presence of the initdb(1) manpage and absence
> of an initdb command.
> 
> # locate initdb /usr/local/man/man1/initdb.1.gz
> /usr/ports/databases/postgresql73-server/files/patch-src-bin-initdb-Makefile
> /usr/ports/databases/postgresql74-server/files/patch-src-bin-initdb-Makefile
> /usr/ports/www/rt2/files/patch-tools-initdb
> 
> Any hints?

Use the rc.d script:

/usr/local/etc/rc.d/postgres initdb

(At least for postgres 8.2)

Erik





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4716816E.20002>