View | Details | Raw Unified | Return to bug 201796 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/bsd.default-versions.mk (-1 / +1 lines)
Lines 72-78 Link Here
72
PERL5_DEFAULT:=		${_PERL5_FROM_BIN:R}
72
PERL5_DEFAULT:=		${_PERL5_FROM_BIN:R}
73
.endif
73
.endif
74
# Possible values: 9.2, 9.3, 9.4, 9.5, 9.6
74
# Possible values: 9.2, 9.3, 9.4, 9.5, 9.6
75
PGSQL_DEFAULT?=		9.3
75
PGSQL_DEFAULT?=		9.5
76
# Possible values: 5.6, 7.0, 7.1
76
# Possible values: 5.6, 7.0, 7.1
77
PHP_DEFAULT?=		5.6
77
PHP_DEFAULT?=		5.6
78
# Possible values: 2.7, 3.3, 3.4, 3.5, 3.6
78
# Possible values: 2.7, 3.3, 3.4, 3.5, 3.6
(-)UPDATING (+36 lines)
Lines 5-10 Link Here
5
You should get into the habit of checking this file for changes each time
5
You should get into the habit of checking this file for changes each time
6
you update your ports collection, before attempting any port upgrades.
6
you update your ports collection, before attempting any port upgrades.
7
7
8
20170612:
9
  AFFECTS: users of database/postgresql*, databases/postgis* and other
10
           software using PostgreSQL to run
11
  AUTHOR: tz@FreeBSD.org
12
13
  The default version of PostgreSQL has been switched from 9.3 to 9.5.
14
  Upgrade instructions:
15
16
  First stop your PostgreSQL, fetch current PostgreSQL-binaries and backup your data:
17
  
18
  # service postgresql stop
19
  # pkg fetch postgresql93-server postgresql93-contrib
20
  # mkdir /tmp/pg-upgrade
21
  # tar xf /var/cache/pkg/postgresql93-server-9.3.17.txz -C /tmp/pg-upgrade
22
  # tar xf /var/cache/pkg/postgresql93-contrib-9.3.17.txz -C /tmp/pg-upgrade
23
  # mv /usr/local/pgsql/data /usr/local/pgsql/data93
24
25
  Now update PostgreSQL:
26
27
    pkg user:
28
    # pkg upgrade
29
30
    Portmaster users:
31
    # portmaster databases/postgresql95-server databases/postgresql95-contrib
32
    # portmaster -a
33
34
    Portupgrade users:
35
    # portinstall databases/postgresql95-server databases/postgresql95-contrib
36
    # portupgrade -a
37
38
  After installing the new PostgreSQL version you need to convert
39
  all your databases to new version:
40
  
41
  # service postgresql initdb
42
  # su -l pgsql -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /usr/local/pgsql/data93/ -B /usr/local/bin/ -D /usr/local/pgsql/data/"
43
8
20170603:
44
20170603:
9
  AFFECTS: users of www/kanboard
45
  AFFECTS: users of www/kanboard
10
  AUTHOR: joneum@FreeBSD.org
46
  AUTHOR: joneum@FreeBSD.org

Return to bug 201796