From 75067900389d694d96e8ed2b1e6e8610a47bf115 Mon Sep 17 00:00:00 2001 From: Vlad Arkhipov Date: Mon, 4 Nov 2024 18:08:25 +0100 Subject: [PATCH] Support Postgresql 17. --- .github/workflows/build-nix.yml | 1 + .github/workflows/build-win.yml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-nix.yml b/.github/workflows/build-nix.yml index 625911e..13199fa 100644 --- a/.github/workflows/build-nix.yml +++ b/.github/workflows/build-nix.yml @@ -21,6 +21,7 @@ jobs: - 14 - 15 - 16 + - 17 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml index 08906c0..a41964a 100644 --- a/.github/workflows/build-win.yml +++ b/.github/workflows/build-win.yml @@ -21,6 +21,7 @@ jobs: - 14.9-1 - 15.4-1 - 16.0-1 + - 17.0-1 platform: - x64 include: @@ -72,7 +73,7 @@ jobs: if ("$pg_version" -eq "9.6") { & ".\postgresql.exe" --unattendedmodeui none --mode unattended --superpassword password --servicepassword password --install_runtimes 0 2>&1 | Out-Default } else { - & ".\postgresql.exe" --unattendedmodeui none --mode unattended --superpassword password --servicepassword password 2>&1 | Out-Default + & ".\postgresql.exe" --unattendedmodeui none --mode unattended --superpassword password --servicepassword password --enable-components server,pgAdmin,stackbuilder,commandlinetools 2>&1 | Out-Default } - uses: actions/checkout@v3 @@ -102,6 +103,7 @@ jobs: Start-Service -Name "postgresql$env:X64-$env:PG_VERSION" + Get-ChildItem -Path "$env:PG_ROOT\bin" & "$env:PG_ROOT\bin\pg_regress.exe" "$env:PSQL_OPT=$env:PG_ROOT\bin" --dbname=pl_regression install no_system_period invalid_system_period no_history_table no_history_system_period invalid_types invalid_system_period_values versioning versioning_custom_system_time structure uninstall 2>&1 | Out-Default if ($LASTEXITCODE -ne 0) { Get-Content -Path ".\regression.diffs" | Out-Printer