Add steps to copy SSL certs and a reminder about UTF8 to postgresql-server's
upgrade notes. ok pea@
This commit is contained in:
parent
3cd365fcdd
commit
e1add271e0
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.161 2012/03/05 15:00:57 pea Exp $
|
||||
# $OpenBSD: Makefile,v 1.162 2012/04/12 11:47:05 sthen Exp $
|
||||
|
||||
COMMENT-main= PostgreSQL RDBMS (client)
|
||||
COMMENT-server= PostgreSQL RDBMS (server)
|
||||
@ -6,6 +6,7 @@ COMMENT-docs= PostgreSQL RDBMS documentation
|
||||
COMMENT-contrib=PostgreSQL RDBMS contributions
|
||||
|
||||
VERSION= 9.1.3
|
||||
REVISION-server=0
|
||||
DISTNAME= postgresql-${VERSION}
|
||||
PKGNAME-main= postgresql-client-${VERSION}
|
||||
PKGNAME-server= postgresql-server-${VERSION}
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README-server,v 1.10 2012/01/24 09:20:17 sthen Exp $
|
||||
$OpenBSD: README-server,v 1.11 2012/04/12 11:47:05 sthen Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -137,13 +137,15 @@ you must adapt these instructions to your setup.
|
||||
4) Backup your old data directory:
|
||||
# mv /var/postgresql/data /var/postgresql/data.old
|
||||
|
||||
5) Create a new data directory:
|
||||
5) Create a new data directory (using -E UTF8 if appropriate):
|
||||
# sudo -u _postgresql mkdir /var/postgresql/data
|
||||
# sudo -u _postgresql initdb -D /var/postgresql/data -U postgres -A md5 -W
|
||||
|
||||
6) Restore your old pg_hba.conf
|
||||
6) Restore your old pg_hba.conf and (if used) SSL certificates
|
||||
# sudo -u _postgresql cp /var/postgresql/data.old/pg_hba.conf \
|
||||
/var/postgresql/data/
|
||||
# sudo -u _postgresql cp /var/postgresql/data.old/server.{crt,key} \
|
||||
/var/postgresql/data/
|
||||
|
||||
Some postgresql.conf settings changed or disappeared in this version.
|
||||
Examine your old file for local changes and apply them to the new version.
|
||||
|
Loading…
Reference in New Issue
Block a user