From 00a5e157bb7b2ab5105a31d78ea4b4a2dbc039b1 Mon Sep 17 00:00:00 2001 From: Ahmed Et-tanany Date: Mon, 25 Sep 2023 12:07:05 +0200 Subject: [PATCH] Build for pg16 --- .github/workflows/build.yml | 2 +- pghoard/wal.py | 1 + test/conftest.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a34a4b3..5d0f177a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -77,7 +77,7 @@ jobs: wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo apt-get update # Setup build deps - sudo apt-get install -y libsnappy-dev postgresql-10 postgresql-11 postgresql-12 postgresql-13 postgresql-14 postgresql-15 + sudo apt-get install -y libsnappy-dev postgresql-10 postgresql-11 postgresql-12 postgresql-13 postgresql-14 postgresql-15 postgresql-16 # Setup common python dependencies python -m pip install --upgrade pip pip install -r requirements.txt diff --git a/pghoard/wal.py b/pghoard/wal.py index 116ec90c..58f55ede 100644 --- a/pghoard/wal.py +++ b/pghoard/wal.py @@ -31,6 +31,7 @@ 0xD106: 130000, 0xD10D: 140000, 0xD110: 150000, + 0xD113: 160000, } WAL_MAGIC_BY_VERSION = {value: key for key, value in WAL_MAGIC.items()} diff --git a/test/conftest.py b/test/conftest.py index dde73f9c..4ebab8d3 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -34,7 +34,7 @@ logutil.configure_logging() -DEFAULT_PG_VERSIONS = ["15", "14", "13", "12", "11", "10"] +DEFAULT_PG_VERSIONS = ["16", "15", "14", "13", "12", "11", "10"] def port_is_listening(hostname: str, port: int, timeout: float = 0.5) -> bool: