Bump postgres versions used in CI to 14.2, 13.6, 12.10

This commit is contained in:
Sven Klemm 2022-02-12 02:55:54 +01:00 committed by Sven Klemm
parent 531f7ed8b1
commit 65ffa44711
7 changed files with 30 additions and 26 deletions

View File

@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
pg: ["12.9", "13.5", "14.1"]
pg: ["12.10", "13.6", "14.2"]
os: [ubuntu-20.04]
env:
PG_SRC_DIR: pgbuild

View File

@ -19,17 +19,17 @@ jobs:
strategy:
fail-fast: false
matrix:
pg: ["12.9","13.5","14.1"]
pg: ["12.10","13.6","14.2"]
build_type: [ Debug ]
include:
- pg: "12.9"
- pg: "12.10"
ignores: append-12 debug_notice transparent_decompression-12 transparent_decompress_chunk-12 plan_skip_scan-12 pg_dump
pg_major: 12
- pg: "13.5"
- pg: "13.6"
ignores: append-13 debug_notice transparent_decompression-13 transparent_decompress_chunk-13 pg_dump
pg_major: 13
- pg: "14.1"
ignores: append-14 debug_notice transparent_decompression-14 transparent_decompress_chunk-14 pg_dump memoize
- pg: "14.2"
ignores: append-14 debug_notice transparent_decompression-14 transparent_decompress_chunk-14 pg_dump
pg_major: 14
steps:

View File

@ -43,7 +43,7 @@ jobs:
matrix:
# "os" has to be in the matrix due to a bug in "env": https://github.community/t/how-to-use-env-context/16975
os: ["ubuntu-20.04"]
pg: ["12.9", "13.5", "14.1"]
pg: ["12.10", "13.6", "14.2"]
steps:
- name: Install Linux Dependencies
run: |

View File

@ -13,13 +13,13 @@ jobs:
runs-on: 'ubuntu-latest'
strategy:
matrix:
pg: ["12.9", "13.5", "14.1"]
pg: ["12.10", "13.6", "14.2"]
include:
- pg: 12.9
- pg: 12.10
pg_major: 12
- pg: 13.5
- pg: 13.6
pg_major: 13
- pg: 14.1
- pg: 14.2
pg_major: 14
fail-fast: false
env:
@ -50,13 +50,13 @@ jobs:
runs-on: 'ubuntu-latest'
strategy:
matrix:
pg: ["12.9", "13.5", "14.1"]
pg: ["12.10", "13.6", "14.2"]
include:
- pg: 12.9
- pg: 12.10
pg_major: 12
- pg: 13.5
- pg: 13.6
pg_major: 13
- pg: 14.1
- pg: 14.2
pg_major: 14
fail-fast: false
env:

View File

@ -17,11 +17,11 @@ jobs:
build_type: [ Debug, Release ]
include:
- pg: 12
pkg_version: 12.9.1
pkg_version: 12.10.1
- pg: 13
pkg_version: 13.5.1
pkg_version: 13.6.1
- pg: 14
pkg_version: 14.1.1
pkg_version: 14.2.1
build_args: -DUSE_OPENSSL=OFF
env:
# PostgreSQL configuration

View File

@ -22,11 +22,11 @@ import sys
event_type = sys.argv[1]
PG12_EARLIEST = "12.0"
PG12_LATEST = "12.9"
PG12_LATEST = "12.10"
PG13_EARLIEST = "13.2"
PG13_LATEST = "13.5"
PG13_LATEST = "13.6"
PG14_EARLIEST = "14.0"
PG14_LATEST = "14.1"
PG14_LATEST = "14.2"
m = {"include": [],}
@ -136,7 +136,7 @@ if event_type != "pull_request":
m["include"].append(build_debug_config(pg13_debug_earliest))
# add debug test for first supported PG14 version
m["include"].append(build_debug_config({"pg": PG14_EARLIEST}))
m["include"].append(build_debug_config({"pg": PG14_EARLIEST, "installcheck_args": "IGNORES='memoize'"}))
# add debug test for MacOS
m["include"].append(build_debug_config(macos_config({})))

View File

@ -41,6 +41,7 @@ ORDER BY m1.time;
Heap Fetches: 25190
-> Memoize (actual rows=1 loops=68370)
Cache Key: m1."time"
Cache Mode: binary
Hits: 54696 Misses: 13674 Evictions: 0 Overflows: 0
-> Limit (actual rows=1 loops=13674)
-> Custom Scan (ChunkAppend) on metrics m2 (actual rows=1 loops=13674)
@ -54,7 +55,7 @@ ORDER BY m1.time;
-> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_3 (actual rows=1 loops=5038)
Index Cond: ("time" = m1."time")
Heap Fetches: 5038
(24 rows)
(25 rows)
\set TEST_TABLE 'metrics_space'
\ir :TEST_QUERY_NAME
@ -103,6 +104,7 @@ ORDER BY m1.time;
Heap Fetches: 5038
-> Memoize (actual rows=1 loops=68370)
Cache Key: m1."time"
Cache Mode: binary
Hits: 54696 Misses: 13674 Evictions: 0 Overflows: 0
-> Limit (actual rows=1 loops=13674)
-> Custom Scan (ChunkAppend) on metrics_space m2 (actual rows=1 loops=13674)
@ -134,7 +136,7 @@ ORDER BY m1.time;
-> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_9 (never executed)
Index Cond: ("time" = m1."time")
Heap Fetches: 0
(60 rows)
(61 rows)
\set TEST_TABLE 'metrics_compressed'
\ir :TEST_QUERY_NAME
@ -167,6 +169,7 @@ ORDER BY m1.time;
-> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1)
-> Memoize (actual rows=1 loops=68370)
Cache Key: m1_1."time"
Cache Mode: binary
Hits: 54696 Misses: 13674 Evictions: 0 Overflows: 0
-> Limit (actual rows=1 loops=13674)
-> Custom Scan (ChunkAppend) on metrics_compressed m2 (actual rows=1 loops=13674)
@ -189,7 +192,7 @@ ORDER BY m1.time;
-> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=5038)
Filter: ((_ts_meta_min_1 <= m1_1."time") AND (_ts_meta_max_1 >= m1_1."time"))
Rows Removed by Filter: 2
(35 rows)
(36 rows)
\set TEST_TABLE 'metrics_space_compressed'
\ir :TEST_QUERY_NAME
@ -234,6 +237,7 @@ ORDER BY m1.time;
-> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1)
-> Memoize (actual rows=1 loops=68370)
Cache Key: m1_1."time"
Cache Mode: binary
Hits: 54696 Misses: 13674 Evictions: 0 Overflows: 0
-> Limit (actual rows=1 loops=13674)
-> Custom Scan (ChunkAppend) on metrics_space_compressed m2 (actual rows=1 loops=13674)
@ -280,7 +284,7 @@ ORDER BY m1.time;
Filter: (m1_1."time" = "time")
-> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed)
Filter: ((_ts_meta_min_1 <= m1_1."time") AND (_ts_meta_max_1 >= m1_1."time"))
(71 rows)
(72 rows)
-- get results for all the queries
-- run queries with and without memoize