Date: Sun, 14 Oct 2001 17:41:23 +0200 From: Palle Girgensohn <girgen@partitur.se> To: dan@langille.org Cc: ports@freebsd.org Subject: Re: incorrect instructions for post-install initialization Message-ID: <3BC9B223.4D4C11D3@partitur.se> References: <3BC827D5.21585.1DBBA26E@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan Langille wrote: > > After I installed postgresql 7.1.3 from the ports tree, I found this > message on the screen: > > "To initialize the database, you should run initdb as the "pgsql" user. > > Example: > > su -l pgsql -c initdb > > You can then start PostgreSQL by running: > > /usr/local/etc/rc.d/010.pgsql.sh start > > For postmaster settings, see ~pgsql/data/postgresql.conf" > > It appears pgsql is not contained within this release. I suspect the > instructions are out of date. I think the correct instructions are: > > su -l pgsql initdb /usr/local/pgsql/data No. The pgsql user is there (pkg-install), and a .profile with PGDATA set to ~pgsql/data exists, so it should work. What exactly is the problem? /Palle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BC9B223.4D4C11D3>