postgresql and initdb

Chuck Swiger cswiger at mac.com
Wed Oct 17 12:11:26 PDT 2007


On Oct 17, 2007, at 12:02 PM, 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?

This:

% head /usr/ports/databases/postgresql74-server/pkg-plist-server
bin/initdb
bin/initlocation
bin/ipcclean
bin/pg_controldata
bin/pg_ctl
bin/pg_id
bin/pg_resetxlog
bin/postgres
bin/postmaster
etc/periodic/daily/502.pgsql

...suggests it will be put in /usr/local/bin/initdb (modulo $ 
{LOCALBASE}, if changed)-- try doing a rehash if needed.  :-)

-- 
-Chuck



More information about the freebsd-questions mailing list