From b6f7837b57b61006af9e444143fbfc740c739b41 Mon Sep 17 00:00:00 2001 From: Jonathan Dance Date: Mon, 29 Jan 2024 16:51:50 -0600 Subject: [PATCH] add extension: wrappers (PG >=14) * add supabase_vault to allow for wrappers to use vault * add pgsodium explicitly --- files/spilo/postgres-appliance/scripts/spilo_commons.py | 7 +++++-- third-party/pgxman/pgxman_14.yaml | 6 ++++++ third-party/pgxman/pgxman_14_spilo.yaml | 6 ++++++ third-party/pgxman/pgxman_15.yaml | 6 ++++++ third-party/pgxman/pgxman_16.yaml | 6 ++++++ 5 files changed, 29 insertions(+), 2 deletions(-) diff --git a/files/spilo/postgres-appliance/scripts/spilo_commons.py b/files/spilo/postgres-appliance/scripts/spilo_commons.py index 11c00f6f..094a5acc 100644 --- a/files/spilo/postgres-appliance/scripts/spilo_commons.py +++ b/files/spilo/postgres-appliance/scripts/spilo_commons.py @@ -12,11 +12,14 @@ # (min_version, max_version, shared_preload_libraries, extwlist.extensions) extensions = { - 'columnar': (13, 14, True, True), + 'columnar': (13, 16, True, True), #'timescaledb': (9.6, 14, True, True), 'pg_cron': (9.5, 15, True, True), 'pg_stat_kcache': (9.4, 15, True, False), - 'pg_partman': (9.4, 15, False, True) + 'pg_partman': (9.4, 15, False, True), + 'wrappers': (14, 16, False, True), + 'pgsodium': (14, 16, False, True), + 'supabase_vault': (14, 16, False, True) } if os.environ.get('ENABLE_PG_MON') == 'true': extensions['pg_mon'] = (11, 15, True, False) diff --git a/third-party/pgxman/pgxman_14.yaml b/third-party/pgxman/pgxman_14.yaml index 5a640638..b2521d8b 100644 --- a/third-party/pgxman/pgxman_14.yaml +++ b/third-party/pgxman/pgxman_14.yaml @@ -14,3 +14,9 @@ extensions: version: "0.5.1" - name: "pg_hint_plan" version: "1.4.2" + - name: "wrappers" + version: "0.2.0" + - name: "pgsodium" + version: "3.1.9" + - name: "supabase_vault" + version: "0.2.9" diff --git a/third-party/pgxman/pgxman_14_spilo.yaml b/third-party/pgxman/pgxman_14_spilo.yaml index 081a9b91..876b09fc 100644 --- a/third-party/pgxman/pgxman_14_spilo.yaml +++ b/third-party/pgxman/pgxman_14_spilo.yaml @@ -16,3 +16,9 @@ extensions: version: "0.5.1" - name: "pg_hint_plan" version: "1.4.2" + - name: "wrappers" + version: "0.2.0" + - name: "pgsodium" + version: "3.1.9" + - name: "supabase_vault" + version: "0.2.9" diff --git a/third-party/pgxman/pgxman_15.yaml b/third-party/pgxman/pgxman_15.yaml index 1be268e3..5c66bc2d 100644 --- a/third-party/pgxman/pgxman_15.yaml +++ b/third-party/pgxman/pgxman_15.yaml @@ -14,3 +14,9 @@ extensions: version: "0.5.1" - name: "pg_hint_plan" version: "1.5.1" + - name: "wrappers" + version: "0.2.0" + - name: "pgsodium" + version: "3.1.9" + - name: "supabase_vault" + version: "0.2.9" diff --git a/third-party/pgxman/pgxman_16.yaml b/third-party/pgxman/pgxman_16.yaml index ee040977..6bb0c396 100644 --- a/third-party/pgxman/pgxman_16.yaml +++ b/third-party/pgxman/pgxman_16.yaml @@ -10,3 +10,9 @@ extensions: version: "0.5.1" - name: "pg_hint_plan" version: "1.6.0" + - name: "wrappers" + version: "0.2.0" + - name: "pgsodium" + version: "3.1.9" + - name: "supabase_vault" + version: "0.2.9"