From d696c41807306333dab3568da523937963f7a116 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 30 Sep 2024 09:20:52 +0300 Subject: [PATCH] Bump default neon extension version to 1.5 (#9188) Commit 263dfba6ee introduced neon extension version 1.5, which included some new functions and views for metrics. It didn't bump the default neon extension number yet, so that we could still safely roll back to the old binary if necessary. This bumps the default version. --- pgxn/neon/neon.control | 4 +--- test_runner/regress/test_neon_extension.py | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pgxn/neon/neon.control b/pgxn/neon/neon.control index 0b36bdbb65..af69116e21 100644 --- a/pgxn/neon/neon.control +++ b/pgxn/neon/neon.control @@ -1,8 +1,6 @@ # neon extension comment = 'cloud storage for PostgreSQL' -# TODO: bump default version to 1.5, after we are certain that we don't -# need to rollback the compute image -default_version = '1.4' +default_version = '1.5' module_pathname = '$libdir/neon' relocatable = true trusted = true diff --git a/test_runner/regress/test_neon_extension.py b/test_runner/regress/test_neon_extension.py index 22a6013225..619fd83c9b 100644 --- a/test_runner/regress/test_neon_extension.py +++ b/test_runner/regress/test_neon_extension.py @@ -24,7 +24,7 @@ def test_neon_extension(neon_env_builder: NeonEnvBuilder): # IMPORTANT: # If the version has changed, the test should be updated. # Ensure that the default version is also updated in the neon.control file - assert cur.fetchone() == ("1.4",) + assert cur.fetchone() == ("1.5",) cur.execute("SELECT * from neon.NEON_STAT_FILE_CACHE") res = cur.fetchall() log.info(res) @@ -48,7 +48,7 @@ def test_neon_extension_compatibility(neon_env_builder: NeonEnvBuilder): # IMPORTANT: # If the version has changed, the test should be updated. # Ensure that the default version is also updated in the neon.control file - assert cur.fetchone() == ("1.4",) + assert cur.fetchone() == ("1.5",) cur.execute("SELECT * from neon.NEON_STAT_FILE_CACHE") all_versions = ["1.5", "1.4", "1.3", "1.2", "1.1", "1.0"] current_version = "1.5"