Skip to content

Commit af12c77

Browse files
authored
Merge branch 'main' into dimension-skip
2 parents f0a7650 + ab529af commit af12c77

81 files changed

Lines changed: 2874 additions & 417 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ci_settings.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,23 @@
1212
#
1313

1414
PG15_EARLIEST = "15.10"
15-
PG15_LATEST = "15.17"
15+
PG15_LATEST = "15.18"
16+
PG15_LATEST_WIN = "15.17"
1617
PG15_ABI_MIN = "15.10"
1718

1819
PG16_EARLIEST = "16.6"
19-
PG16_LATEST = "16.13"
20+
PG16_LATEST = "16.14"
21+
PG16_LATEST_WIN = "16.13"
2022
PG16_ABI_MIN = "16.6"
2123

2224
PG17_EARLIEST = "17.2"
23-
PG17_LATEST = "17.9"
25+
PG17_LATEST = "17.10"
26+
PG17_LATEST_WIN = "17.9"
2427
PG17_ABI_MIN = "17.2"
2528

2629
PG18_EARLIEST = "18.0"
27-
PG18_LATEST = "18.3"
30+
PG18_LATEST = "18.4"
31+
PG18_LATEST_WIN = "18.3"
2832
PG18_ABI_MIN = "18.0"
2933

3034
PG_LATEST = [PG15_LATEST, PG16_LATEST, PG17_LATEST, PG18_LATEST]

.github/problem-matchers/grep.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "grep",
5+
"severity": "error",
6+
"pattern": [
7+
{
8+
"regexp": "^(.+):(\\d+):(.+)$",
9+
"file": 1,
10+
"line": 2,
11+
"message": 3
12+
}
13+
]
14+
}
15+
]
16+
}

.github/workflows/apt-packages.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
arch: [ "x86", "ARM" ]
28-
image: [ "debian:11-slim", "debian:12-slim", "debian:13-slim", "ubuntu:22.04", "ubuntu:24.04" ]
28+
image: [ "debian:12-slim", "debian:13-slim", "ubuntu:22.04", "ubuntu:24.04", "ubuntu:26.04" ]
2929
pg: [ 15, 16, 17, 18 ]
3030
license: [ "TSL", "Apache"]
3131
include:
@@ -36,8 +36,8 @@ jobs:
3636
- arch: "ARM"
3737
runner: "cloud-image-runner-ubuntu-24-arm64"
3838
exclude:
39-
- image: "debian:11-slim"
40-
pg: 18
39+
- image: "ubuntu:26.04"
40+
pg: 15
4141

4242

4343
steps:
@@ -50,7 +50,7 @@ jobs:
5050
image_type=$(lsb_release -i -s | tr '[:upper:]' '[:lower:]')
5151
echo "deb https://packagecloud.io/timescale/timescaledb/${image_type}/ $(lsb_release -c -s) main" \
5252
> /etc/apt/sources.list.d/timescaledb.list
53-
if [ "${image_type}" = "ubuntu" ]; then
53+
if [ "${{ matrix.image }}" = "ubuntu:22.04" ]; then
5454
wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | apt-key add -
5555
else
5656
wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | gpg --dearmor -o /etc/apt/trusted.gpg.d/timescale_timescaledb.gpg
@@ -95,6 +95,9 @@ jobs:
9595
fi
9696
9797
- name: Test Downgrade
98+
# 2.27.0 is the first release for Ubuntu 26.04 so we can't test downgrades on it.
99+
# we can remove the condition with 2.27.1 release
100+
if: matrix.image != 'ubuntu:26.04'
98101
run: |
99102
# Since this runs nightly on main we have to get the previous version
100103
# from the last released version and not current branch.
@@ -110,6 +113,8 @@ jobs:
110113
fi
111114
112115
- name: Install toolkit
116+
# Ubuntu 26.04 does not yet have toolkit
117+
if: matrix.image != 'ubuntu:26.04'
113118
timeout-minutes: 15
114119
run: |
115120
apt-get install -y --no-install-recommends \

.github/workflows/claude-code-review.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: Run Claude Code Review
2323
id: claude-review
24-
uses: anthropics/claude-code-action@fefa07e9c665b7320f08c3b525980457f22f58aa # v1.0.111
24+
uses: anthropics/claude-code-action@476e359e6203e73dad705c8b322e333fabbd7416 # v1.0.119
2525
with:
2626
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
2727
prompt: |

.github/workflows/code_style.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,11 @@ jobs:
106106
./scripts/clang_format_all.sh
107107
git diff --exit-code
108108
109-
- name: FIXME annotations left in code (use TODO for long-term notes)
109+
- name: "[F]IXME annotations left in code (use TODO for long-term notes)"
110110
if: always()
111111
run: |
112-
! grep fixme -niR ./*
112+
echo '::add-matcher::.github/problem-matchers/grep.json'
113+
! grep [f]ixme -niR ./* .github/workflows/*
113114
114115
python_checks:
115116
name: Check Python code in tree

.github/workflows/llm-fuzzer.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ jobs:
286286
run: |
287287
set -xeu
288288
289-
sudo coredumpctl rm
289+
sudo journalctl --rotate --vacuum-time=1s
290+
sudo rm -f /var/lib/systemd/coredump/*
290291
291292
export PATH=$HOME/$PG_INSTALL_DIR/bin:$PATH
292293

.github/workflows/pgspot.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ jobs:
5353
previous_version=$(grep '^previous_version = ' version.config | sed -e 's!^[^=]\+ = !!')
5454
git fetch --tags
5555
./bootstrap -DGENERATE_DOWNGRADE_SCRIPT=ON
56-
git checkout ${previous_version}
56+
# version.config in 2.27.0 tag is incorrect and will produce wrong sql files
57+
if [ "${previous_version}" == "2.27.0" ]; then
58+
git checkout 2.27.0-p0
59+
else
60+
git checkout ${previous_version}
61+
fi
5762
make -C build sqlfile sqlupdatescripts
5863
git checkout ${GITHUB_SHA}
5964
make -C build sqlfile sqlupdatescripts

.github/workflows/rpm-packages.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
name: RPM ${{ matrix.image }} PG${{ matrix.pg }} ${{ matrix.license }}
2020
runs-on: ubuntu-latest
2121
container:
22-
image: ${{ matrix.image }}
22+
image: rockylinux/${{ matrix.image }}
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
image: [ "rockylinux:8", "rockylinux:9" ]
26+
image: [ "rockylinux:8", "rockylinux:9", "rockylinux:10" ]
2727
pg: [ 15, 16, 17, 18 ]
2828
license: [ "TSL", "Apache"]
2929
include:
@@ -32,6 +32,9 @@ jobs:
3232
exclude:
3333
- image: "rockylinux:8"
3434
pg: 18
35+
- image: "rockylinux:10"
36+
pg: 15
37+
3538

3639
steps:
3740
- name: Add postgres repositories
@@ -56,7 +59,7 @@ jobs:
5659
run: |
5760
yum update -y
5861
if [[ "$(rpm -E %{rhel})" -eq "8" ]]; then dnf -qy module disable postgresql; fi
59-
yum install -y timescaledb-2${{ matrix.pkg_suffix }}-postgresql-${{ matrix.pg }} sudo wget jq
62+
yum install -y --exclude='postgresql,postgresql-server,postgresql-private-libs,postgresql-libs' timescaledb-2${{ matrix.pkg_suffix }}-postgresql-${{ matrix.pg }} sudo wget jq
6063
sudo -u postgres /usr/pgsql-${{ matrix.pg }}/bin/initdb -D /var/lib/pgsql/${{ matrix.pg }}/data
6164
timescaledb-tune --quiet --yes --pg-config /usr/pgsql-${{ matrix.pg }}/bin/pg_config
6265
@@ -90,7 +93,9 @@ jobs:
9093
fi
9194
9295
- name: Test Downgrade
93-
if: matrix.pg != '18' # pg18 only has 1 version so downgrade is not possible
96+
# 2.27.0 is the first release for rockylinux 10 so we can't test downgrades on it.
97+
# we can remove the condition with 2.27.1 release
98+
if: matrix.image != 'rockylinux:10'
9499
run: |
95100
# Since this runs nightly on main we have to get the previous version
96101
# from the last released version and not current branch.
@@ -107,12 +112,12 @@ jobs:
107112
fi
108113
109114
- name: Install toolkit
110-
if: matrix.pg != 17 && matrix.image != 'rockylinux:9' # timescaledb-toolkit currently not available for PG17 and Rocky9
115+
if: matrix.image == 'rockylinux:8'
111116
run: |
112117
yum install -y timescaledb-toolkit-postgresql-${{ matrix.pg }}
113118
114119
- name: List available toolkit versions
115-
if: matrix.pg != 17 && matrix.image != 'rockylinux:9' # timescaledb-toolkit currently not available for PG17 and Rocky9
120+
if: matrix.image == 'rockylinux:8'
116121
run: |
117122
yum --showduplicates list timescaledb-toolkit-postgresql-${{ matrix.pg }}
118123

.github/workflows/windows-build-and-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
runs-on: ubuntu-latest
1919
outputs:
2020
build_type: ${{ steps.build_type.outputs.build_type }}
21-
pg15_latest: ${{ steps.config.outputs.pg15_latest }}
22-
pg16_latest: ${{ steps.config.outputs.pg16_latest }}
23-
pg17_latest: ${{ steps.config.outputs.pg17_latest }}
24-
pg18_latest: ${{ steps.config.outputs.pg18_latest }}
21+
pg15_latest: ${{ steps.config.outputs.pg15_latest_win }}
22+
pg16_latest: ${{ steps.config.outputs.pg16_latest_win }}
23+
pg17_latest: ${{ steps.config.outputs.pg17_latest_win }}
24+
pg18_latest: ${{ steps.config.outputs.pg18_latest_win }}
2525

2626
steps:
2727
- name: Checkout source code

.unreleased/pr_4054

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Implements: #4054 Support ANALYZE and VACUUM on continuous aggregates by redirecting to the underlying materialization hypertable

0 commit comments

Comments
 (0)