2001-04-21 11:34:34 +00:00
|
|
|
======================================================================
|
|
|
|
|
|
|
|
* 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
|
2002-02-19 08:23:22 +00:00
|
|
|
/usr/local/include (NOTE! Changed again in 7.2, since PostgreSQL
|
|
|
|
handles standard install nowadays)
|
2001-04-21 11:34:34 +00:00
|
|
|
|
|
|
|
You *must* move away your old installation from users' and
|
2002-02-19 08:23:22 +00:00
|
|
|
ldconfig(8)'s PATHs.
|
2001-04-21 11:34:34 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
======================================================================
|
|
|
|
|
2002-02-19 08:23:22 +00:00
|
|
|
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).
|
2001-02-20 21:45:15 +00:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
su -l pgsql -c initdb
|
|
|
|
|
|
|
|
You can then start PostgreSQL by running:
|
|
|
|
|
2001-03-15 19:26:26 +00:00
|
|
|
/usr/local/etc/rc.d/010.pgsql.sh start
|
2001-04-21 11:34:34 +00:00
|
|
|
|
2001-08-24 14:32:43 +00:00
|
|
|
For postmaster settings, see ~pgsql/data/postgresql.conf
|
2002-02-19 08:23:22 +00:00
|
|
|
For more tips, read ~pgsql/post-install-notes
|
2001-04-21 11:34:34 +00:00
|
|
|
======================================================================
|