d87a4a6578
upgrade to the PostgreSQL 7.3 series and provide an update to the 7.2 series, 7.2.4. :~] This port _will_ be removed and should EOL'ed in about 6 months time. Since there is no future for these bits, ignore their heritage commit an orphan for the 7 series. See the postgresql7 port for future and past bits. This port is only intended to serve as a means of postponing an inevitable upgrade to recent release. DBAs, please plan and begin upgrading to 7.3.X, the grass really is greener. Release notes: http://developer.postgresql.org/docs/postgres/release-7-2-4.html PR: ports/48025 Submitted by: Palle Girgensohn <girgen@pingpong.net>
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
======================================================================
|
|
|
|
* IMPORTANT UPGRADE NOTICE * IMPORTANT UPGRADE NOTICE *
|
|
|
|
The PostgreSQL port now obeys hier(7) by default, which means that it
|
|
installs into:
|
|
|
|
/usr/local/bin
|
|
/usr/local/lib
|
|
/usr/local/include (NOTE! Changed again in 7.2, since PostgreSQL
|
|
handles standard install nowadays)
|
|
|
|
You *must* move away your old installation from users' and
|
|
ldconfig(8)'s PATHs.
|
|
|
|
The pgsql user's home dir is /usr/local/pgsql by default, but can be
|
|
changed with for example chpass(1). Datadir defaults to ~pgsql/data,
|
|
but can be changed by modifying the ~pgsql/.profile script.
|
|
|
|
======================================================================
|
|
|
|
To initialize the database, you should run initdb as the "pgsql" user
|
|
(if you want to use your locale for collation, edit ~pgsql/.profile
|
|
and set the locale to your preference first).
|
|
|
|
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
|
|
For more tips, read ~pgsql/post-install-notes
|
|
======================================================================
|