aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql80-server/pkg-message
blob: b686422872c13b4c0f7182fea03deb2dd8e83fa9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

======================================================================

      * 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/pgsql

You *must* move away your old installation from users' and
ldconfig(8)'s PATHs. If you rather install using the old-fashion
layout, cancel now and build the port with "make -DWITH_OLD_LAYOUT".

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.

As always, you *must* dump existing databases before stopping and
removing your old postgresql, as part of the update.  This is *NOT*
done by this port!

======================================================================

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/postmaster.conf
======================================================================