Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post-release fixes for 2.13.1 #6497

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release_build_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Build distribution packages"

"on":
release:
types: [released]
types: [published]

jobs:
update:
Expand Down
2 changes: 1 addition & 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.13.1 (2024-01-08)
## 2.13.1 (2024-01-09)

This release contains bug fixes since the 2.13.0 release.
We recommend that you upgrade at the next available opportunity.
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.12.0-pg13 2.12.1-pg13 2.12.2-pg13 2.13.0-pg13 2.13.1-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.12.0-pg13 2.12.1-pg13 2.12.2-pg13 2.13.0-pg13 2.13.1-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.12.0-pg14 2.12.1-pg14 2.12.2-pg14 2.13.0-pg14 2.13.1-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.12.0-pg14 2.12.1-pg14 2.12.2-pg14 2.13.0-pg14 2.13.1-pg14

4 changes: 2 additions & 2 deletions scripts/test_updates_pg15.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ 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.11.2-pg15 2.12.0-pg15 2.12.1-pg15 2.12.2-pg15 2.13.0-pg15 2.13.1-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.11.2-pg15 2.12.0-pg15 2.12.1-pg15 2.12.2-pg15 2.13.0-pg15 2.13.1-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.0-pg16 2.13.1-pg16

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

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

set(MODULE_PATHNAME "$libdir/timescaledb-${PROJECT_VERSION_MOD}")
set(LOADER_PATHNAME "$libdir/timescaledb")
Expand Down
3 changes: 3 additions & 0 deletions sql/updates/2.13.1--2.13.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Manually drop the following functions / procedures since 'OR REPLACE' is missing in 2.13.0
DROP PROCEDURE IF EXISTS _timescaledb_functions.repair_relation_acls();
DROP FUNCTION IF EXISTS _timescaledb_functions.makeaclitem(regrole, regrole, text, bool);
4 changes: 0 additions & 4 deletions sql/updates/reverse-dev.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
-- Manually drop the following functions / procedures since 'OR REPLACE' is missing in 2.13.0
DROP PROCEDURE IF EXISTS _timescaledb_functions.repair_relation_acls();
DROP FUNCTION IF EXISTS _timescaledb_functions.makeaclitem(regrole, regrole, text, bool);

CREATE FUNCTION _timescaledb_functions.ping_data_node(node_name NAME, timeout INTERVAL = NULL) RETURNS BOOLEAN
AS '@MODULE_PATHNAME@', 'ts_data_node_ping' LANGUAGE C VOLATILE;

Expand Down
2 changes: 1 addition & 1 deletion version.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = 2.14.0-dev
update_from_version = 2.13.1
downgrade_to_version = 2.13.0
downgrade_to_version = 2.13.1