Skip to content

Commit

Permalink
tmp: set neon extension default version to 1.4
Browse files Browse the repository at this point in the history
This shouldn't actually be merged as part of this PR. It's just to make
the images easier to test on staging.
  • Loading branch information
sharnoff committed Jul 6, 2024
1 parent 8452edf commit 2a72a98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pgxn/neon/neon.control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# neon extension
comment = 'cloud storage for PostgreSQL'
default_version = '1.3'
default_version = '1.4'
module_pathname = '$libdir/neon'
relocatable = true
trusted = true
6 changes: 3 additions & 3 deletions test_runner/regress/test_neon_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.3",)
assert cur.fetchone() == ("1.4",)
cur.execute("SELECT * from neon.NEON_STAT_FILE_CACHE")
res = cur.fetchall()
log.info(res)
Expand All @@ -48,10 +48,10 @@ 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.3",)
assert cur.fetchone() == ("1.4",)
cur.execute("SELECT * from neon.NEON_STAT_FILE_CACHE")
all_versions = ["1.4", "1.3", "1.2", "1.1", "1.0"]
current_version = "1.3"
current_version = "1.4"
for idx, begin_version in enumerate(all_versions):
for target_version in all_versions[idx + 1 :]:
if current_version != begin_version:
Expand Down

0 comments on commit 2a72a98

Please sign in to comment.