2001-04-21 13:34:34 +02:00
|
|
|
======================================================================
|
|
|
|
|
|
|
|
* IMPORTANT UPGRADE NOTICE * IMPORTANT UPGRADE NOTICE *
|
|
|
|
|
2002-09-24 00:01:46 +02:00
|
|
|
If you have not backed up your data from the previous version, revert
|
|
|
|
to using an older copy of this port and dump your data before
|
|
|
|
proceeding. Upgrading without performing a dump will likely result in
|
|
|
|
instability, data loss, interoperability problems, and performance
|
|
|
|
issues. It is recommended that you re-initdb between upgrades. If
|
|
|
|
you have made a backup, ignore this warning.
|
2001-04-21 13:34:34 +02:00
|
|
|
|
2002-09-24 00:01:46 +02:00
|
|
|
Please remember to keep PostgreSQL client installations in sync with
|
|
|
|
the server.
|
2001-04-21 13:34:34 +02:00
|
|
|
|
2002-09-24 00:01:46 +02:00
|
|
|
You might want to add the following tunable to /etc/make.conf
|
2001-04-21 13:34:34 +02:00
|
|
|
|
2002-09-24 00:01:46 +02:00
|
|
|
POSTGRESQL_PORT=databases/postgresql-devel
|
2001-04-21 13:34:34 +02:00
|
|
|
|
|
|
|
======================================================================
|
|
|
|
|
2002-09-24 00:01:46 +02:00
|
|
|
To initialize the database, you should run initdb as the "pgsql" user.
|
2001-02-20 22:45:15 +01:00
|
|
|
Example:
|
|
|
|
|
|
|
|
su -l pgsql -c initdb
|
|
|
|
|
|
|
|
You can then start PostgreSQL by running:
|
|
|
|
|
2001-03-15 20:26:26 +01:00
|
|
|
/usr/local/etc/rc.d/010.pgsql.sh start
|
2001-04-21 13:34:34 +02:00
|
|
|
|
2001-08-24 16:32:43 +02:00
|
|
|
For postmaster settings, see ~pgsql/data/postgresql.conf
|
2002-02-19 09:23:22 +01:00
|
|
|
For more tips, read ~pgsql/post-install-notes
|
2001-04-21 13:34:34 +02:00
|
|
|
======================================================================
|