Skip to content

Commit

Permalink
Post-release fixes for 2.14.0
Browse files Browse the repository at this point in the history
Bumping the previous version and adding tests for 2.14.0.
  • Loading branch information
antekresic committed Feb 12, 2024
1 parent d93aa5c commit ba3ccc4
Show file tree
Hide file tree
Showing 10 changed files with 814 additions and 810 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
`psql` with the `-X` flag to prevent any `.psqlrc` commands from
accidentally triggering the load of a previous DB version.**

## 2.14.0 (2023-02-08)
## 2.14.0 (2024-02-08)

This release contains performance improvements and bug fixes since
the 2.13.1 release. We recommend that you upgrade at the next
Expand All @@ -17,6 +17,7 @@ New compression settings take effect on any new chunks that are compressed after
* Reduced locking requirements during chunk recompression
* Limiting tuple decompression during DML operations to avoid decompressing a lot of tuples and causing storage issues (100k limit, configurable)
* Helper functions for determining compression settings
* Plan-time chunk exclusion for real-time Continuous Aggregate by constifying the cagg_watermark function call, leading to faster queries using real-time continuous aggregates

**For this release only**, you will need to restart the database before running `ALTER EXTENSION`

Expand Down
4 changes: 2 additions & 2 deletions scripts/docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ BUILD_IMAGE_NAME=${BUILD_IMAGE_NAME:-$USER/pgbuild}
IMAGE_NAME=${IMAGE_NAME:-$USER/timescaledb}
GIT_ID=$(git -C ${BASE_DIR} describe --dirty --always | sed -e "s|/|_|g")
TAG_NAME=${TAG_NAME:-$GIT_ID}
BUILD_TYPE=${BUILD_TYPE:-Debug}
BUILD_TYPE=${BUILD_TYPE:-Release}
USE_OPENSSL=${USE_OPENSSL:-true}
PUSH_PG_IMAGE=${PUSH_PG_IMAGE:-false}
GENERATE_DOWNGRADE_SCRIPT=${GENERATE_DOWNGRADE_SCRIPT:-OFF}
Expand Down Expand Up @@ -79,7 +79,7 @@ build_timescaledb()
if ! docker exec -u root ${BUILD_CONTAINER_NAME} /bin/bash -c " \
cd /build/debug \
&& git config --global --add safe.directory /src \
&& cmake -DGENERATE_DOWNGRADE_SCRIPT=${GENERATE_DOWNGRADE_SCRIPT} -DENABLE_DEBUG_UTILS=off -DUSE_OPENSSL=${USE_OPENSSL} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} /src \
&& cmake -DGENERATE_DOWNGRADE_SCRIPT=${GENERATE_DOWNGRADE_SCRIPT} -DUSE_OPENSSL=${USE_OPENSSL} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} /src \
&& make -j $(nproc) && make install \
&& echo \"shared_preload_libraries = 'timescaledb'\" >> /usr/local/share/postgresql/postgresql.conf.sample \
&& echo \"timescaledb.telemetry_level=off\" >> /usr/local/share/postgresql/postgresql.conf.sample \
Expand Down
4 changes: 2 additions & 2 deletions scripts/test_updates_pg13.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ run_tests "$@" -v8 \

run_tests "$@" -v8 \
2.10.0-pg13 2.10.1-pg13 2.10.2-pg13 2.10.3-pg13 2.11.0-pg13 2.11.1-pg13 2.11.2-pg13 \
2.12.0-pg13 2.12.1-pg13 2.12.2-pg13 2.13.0-pg13 2.13.1-pg13
2.12.0-pg13 2.12.1-pg13 2.12.2-pg13 2.13.0-pg13 2.13.1-pg13 2.14.0-pg13

# Run repair tests for >= 2.10.x versions due to PR #5441
run_tests "$@" -r -v8 \
2.10.0-pg13 2.10.1-pg13 2.10.2-pg13 2.10.3-pg13 2.11.0-pg13 2.11.1-pg13 2.11.2-pg13 \
2.12.0-pg13 2.12.1-pg13 2.12.2-pg13 2.13.0-pg13 2.13.1-pg13
2.12.0-pg13 2.12.1-pg13 2.12.2-pg13 2.13.0-pg13 2.13.1-pg13 2.14.0-pg13

4 changes: 2 additions & 2 deletions scripts/test_updates_pg14.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ run_tests "$@" -v8 \

run_tests "$@" -v8 \
2.10.0-pg14 2.10.1-pg14 2.10.2-pg14 2.10.3-pg14 2.11.0-pg14 2.11.1-pg14 2.11.2-pg14 \
2.12.0-pg14 2.12.1-pg14 2.12.2-pg14 2.13.0-pg14 2.13.1-pg14
2.12.0-pg14 2.12.1-pg14 2.12.2-pg14 2.13.0-pg14 2.13.1-pg14 2.14.0-pg14

# Run repair tests for >=2.10.x versions due to PR #5441
run_tests "$@" -r -v8 \
2.10.0-pg14 2.10.1-pg14 2.10.2-pg14 2.10.3-pg14 2.11.0-pg14 2.11.1-pg14 2.11.2-pg14 \
2.12.0-pg14 2.12.1-pg14 2.12.2-pg14 2.13.0-pg14 2.13.1-pg14
2.12.0-pg14 2.12.1-pg14 2.12.2-pg14 2.13.0-pg14 2.13.1-pg14 2.14.0-pg14

6 changes: 4 additions & 2 deletions scripts/test_updates_pg15.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ run_tests "$@" -v8 \

run_tests "$@" -v8 \
2.10.0-pg15 2.10.1-pg15 2.10.2-pg15 2.10.3-pg15 2.11.0-pg15 2.11.1-pg15 \
2.11.2-pg15 2.12.0-pg15 2.12.1-pg15 2.12.2-pg15 2.13.0-pg15 2.13.1-pg15
2.11.2-pg15 2.12.0-pg15 2.12.1-pg15 2.12.2-pg15 2.13.0-pg15 2.13.1-pg15 \
2.14.0-pg15

# Run repair tests for >=2.10.x versions due to PR #5441
run_tests "$@" -r -v8 \
2.10.0-pg15 2.10.1-pg15 2.10.2-pg15 2.10.3-pg15 2.11.0-pg15 2.11.1-pg15 \
2.11.2-pg15 2.12.0-pg15 2.12.1-pg15 2.12.2-pg15 2.13.0-pg15 2.13.1-pg15
2.11.2-pg15 2.12.0-pg15 2.12.1-pg15 2.12.2-pg15 2.13.0-pg15 2.13.1-pg15 \
2.14.0-pg15

4 changes: 2 additions & 2 deletions scripts/test_updates_pg16.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SCRIPT_DIR=$(dirname $0)
source ${SCRIPT_DIR}/test_functions.inc

run_tests "$@" -v8 \
2.13.0-pg16 2.13.1-pg16
2.13.0-pg16 2.13.1-pg16 2.14.0-pg16

# Run repair tests for >=2.10.x versions due to PR #5441
run_tests "$@" -r -v8 \
2.13.0-pg16 2.13.1-pg16
2.13.0-pg16 2.13.1-pg16 2.14.0-pg16

3 changes: 2 additions & 1 deletion sql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ set(OLD_REV_FILES
2.12.1--2.12.0.sql
2.12.2--2.12.1.sql
2.13.0--2.12.2.sql
2.13.1--2.13.0.sql)
2.13.1--2.13.0.sql
2.14.0--2.13.1.sql)

set(MODULE_PATHNAME "$libdir/timescaledb-${PROJECT_VERSION_MOD}")
set(LOADER_PATHNAME "$libdir/timescaledb")
Expand Down
Loading

0 comments on commit ba3ccc4

Please sign in to comment.