File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed
files/gitlab-ctl-commands Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 58
58
59
59
make "world -j #{ workers } " , env : env
60
60
make 'install-world' , env : env
61
-
62
- # NOTE: There are several dependencies which require these files in these
63
- # locations and have dependency on `postgresql_new`. So when this block is
64
- # changed to be in the `postgresql` software definition for default PG
65
- # version changes, change those dependencies to `postgresql`.
66
- block 'link bin files' do
67
- Dir . glob ( "#{ prefix } /bin/*" ) . each do |bin_file |
68
- link bin_file , "#{ install_dir } /embedded/bin/#{ File . basename ( bin_file ) } "
69
- end
70
- end
71
61
end
72
62
73
63
# exclude headers and static libraries from package
Original file line number Diff line number Diff line change 61
61
make 'install-world' , env : env
62
62
63
63
link "#{ prefix } /lib/#{ libpq } " , "#{ install_dir } /embedded/lib/#{ libpq } "
64
+
65
+ # NOTE: There are several dependencies which require these files in these
66
+ # locations and have dependency on `postgresql_new`. So when this block is
67
+ # changed to be in the `postgresql` software definition for default PG
68
+ # version changes, change those dependencies to `postgresql`.
69
+ block 'link bin files' do
70
+ Dir . glob ( "#{ prefix } /bin/*" ) . each do |bin_file |
71
+ link bin_file , "#{ install_dir } /embedded/bin/#{ File . basename ( bin_file ) } "
72
+ end
73
+ end
64
74
end
65
75
66
76
# exclude headers and static libraries from package
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ of that setting in the running PostgreSQL instance.
42
42
#### Automatic restart when the PostgreSQL version changes
43
43
44
44
By default, Linux package installations automatically restart PostgreSQL when the underlying
45
- version changes, as suggested by the [ upstream documentation] ( https://www.postgresql.org/docs/13 /upgrading.html ) .
45
+ version changes, as suggested by the [ upstream documentation] ( https://www.postgresql.org/docs/14 /upgrading.html ) .
46
46
This behavior can be controlled using the ` auto_restart_on_version_change ` setting
47
47
available for ` postgresql ` and ` geo-postgresql ` .
48
48
@@ -73,7 +73,7 @@ to avoid errors like the [one related to loading necessary libraries](#could-not
73
73
Linux package installations automatically enable SSL on the PostgreSQL server, but it will accept
74
74
both encrypted and unencrypted connections by default. Enforcing SSL requires
75
75
using the ` hostssl ` configuration in ` pg_hba.conf ` . For more details, see the
76
- [ ` pg_hba.conf ` documentation] ( https://www.postgresql.org/docs/13 /auth-pg-hba-conf.html ) .
76
+ [ ` pg_hba.conf ` documentation] ( https://www.postgresql.org/docs/14 /auth-pg-hba-conf.html ) .
77
77
78
78
SSL support depends on the following files:
79
79
Original file line number Diff line number Diff line change @@ -746,7 +746,7 @@ def old_version
746
746
end
747
747
748
748
def default_version
749
- PGVersion . parse ( version_from_manifest ( 'postgresql' ) )
749
+ PGVersion . parse ( version_from_manifest ( 'postgresql_new' ) ) || PGVersion . parse ( version_from_manifest ( ' postgresql') )
750
750
end
751
751
752
752
def new_version
You can’t perform that action at this time.
0 commit comments