File tree Expand file tree Collapse file tree 5 files changed +11
-5
lines changed
Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 11- name : Check psql_version and modify supautils.conf and postgresql.conf if necessary
22 block :
3- - name : Check if psql_version is psql_orioledb-17 and if psql_version is psql_15 or psql_17
3+ - name : Check if psql_version is psql_orioledb-17 and if psql_version is psql_15 or psql_17 or psql_18
44 ansible.builtin.set_fact :
55 is_psql_oriole : " {{ psql_version in ['psql_orioledb-17'] }}"
66 is_psql_17 : " {{ psql_version in ['psql_17'] }}"
7+ is_psql_18 : " {{ psql_version in ['psql_18'] }}"
78 is_psql_15 : " {{ psql_version in ['psql_15'] }}"
89
910 - name : Execute tasks when (is_psql_oriole or is_psql_17) and stage2_nix
Original file line number Diff line number Diff line change 5454 hash = "sha256-4GMKNgCuonURcVVjJZ7CERzV9DU6SwQOC+gn+UzXqLA=" ;
5555 } ;
5656 "18" = {
57- version = "18.1 " ;
58- hash = "sha256-/4ZnXDNsRumKyZHrswbRtnYh7OHQZ4e+qt4xLCyRXVQ =" ;
57+ version = "18.3 " ;
58+ hash = "sha256-2VZj+786gPganZjYlSZr3LdLonS8wE7212Ywpy3uAW8 =" ;
5959 } ;
6060 } ;
6161 orioledb = {
Original file line number Diff line number Diff line change 100100
101101 # Version-specific adjustments (mirroring run-server.sh.in:250-295)
102102 ${
103- if majorVersion == "17" || majorVersion = = "orioledb-17" then
103+ if majorVersion >= "17" || majorVersion > = "orioledb-17" then
104104 ''
105105 # PG 17+: remove timescaledb from shared_preload_libraries
106106 sed -i 's/ timescaledb,//g' $out/postgresql.conf
Original file line number Diff line number Diff line change 886886 "revision" : " 2.1.0" ,
887887 "hash" : " sha256-STJVvvrLVLe1JevNu6u6EftzAWv+X+J8lu66su7Or2s="
888888 },
889- "2.3.1 " : {
889+ "2.3" : {
890890 "postgresql" : [
891891 " 18"
892892 ],
Original file line number Diff line number Diff line change @@ -285,6 +285,11 @@ orioledb_config_items() {
285285 perl -pi -e ' s/ timescaledb,//g' " $DATDIR /postgresql.conf"
286286 perl -pi -e ' s/ timescaledb,//g' " $DATDIR /supautils.conf"
287287 perl -pi -e ' s/ plv8,//g;' " $DATDIR /supautils.conf"
288+ elif [[ " $VERSION " == " 18" && " $CURRENT_SYSTEM " = " aarch64-darwin" ]]; then
289+ perl -pi -e ' s/db_user_namespace = off/#db_user_namespace = off/g;' " $DATDIR /postgresql.conf"
290+ perl -pi -e ' s/ timescaledb,//g' " $DATDIR /postgresql.conf"
291+ perl -pi -e ' s/ timescaledb,//g' " $DATDIR /supautils.conf"
292+ perl -pi -e ' s/ plv8,//g;' " $DATDIR /supautils.conf"
288293 fi
289294}
290295
You can’t perform that action at this time.
0 commit comments