From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 22:17:11 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2803A16A41A for ; Wed, 17 Oct 2007 22:17:11 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mail.itu.dk (pluto.itu.dk [130.226.142.18]) by mx1.freebsd.org (Postfix) with ESMTP id E1FED13C468 for ; Wed, 17 Oct 2007 22:17:10 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from localhost (unknown [10.0.0.3]) by mail.itu.dk (Postfix) with ESMTP id B54D232E058 for ; Wed, 17 Oct 2007 23:42:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at itu.dk Received: from superman.itu.dk ([130.226.142.5]) by localhost (daredevil.itu.dk [130.226.142.26]) (amavisd-new, port 10024) with ESMTP id rVpjceoB8b0F for ; Wed, 17 Oct 2007 23:41:32 +0200 (CEST) Received: from wimac.littlebit.dk (unknown [85.233.238.191]) by superman.itu.dk (Postfix) with ESMTP id 0DB939E6BC for ; Wed, 17 Oct 2007 23:41:30 +0200 (CEST) Message-ID: <4716816E.20002@cederstrand.dk> Date: Wed, 17 Oct 2007 23:41:02 +0200 From: Erik Cederstrand User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: FreeBSD Questions References: <20071017190216.GA23322@demeter.hydra> In-Reply-To: <20071017190216.GA23322@demeter.hydra> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: postgresql and initdb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 22:17:11 -0000 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