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

Support Postgresql 17. #78

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 14
- 15
- 16
- 17

steps:
- uses: actions/checkout@v3
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/build-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 14.9-1
- 15.4-1
- 16.0-1
- 17.0-1
platform:
- x64
include:
Expand Down Expand Up @@ -66,6 +67,11 @@ jobs:
"X64=$x64" >> $env:GITHUB_ENV
"RELEASE_DIR=$release_dir" >> $env:GITHUB_ENV
"PSQL_OPT=$psql_opt" >> $env:GITHUB_ENV
if ("$pg_version" -eq "17") {
"PG_REGRESS=$pg_root\lib\pgxs\src\test\regress\pg_regress.exe" >> $env:GITHUB_ENV
} else {
"PG_REGRESS=$pg_root\bin\pg_regress.exe" >> $env:GITHUB_ENV
}

Invoke-webrequest -uri https://get.enterprisedb.com/postgresql/postgresql-${pg_full_version}-windows${x64}.exe -OutFile postgresql.exe

Expand Down Expand Up @@ -102,7 +108,11 @@ jobs:

Start-Service -Name "postgresql$env:X64-$env:PG_VERSION"

& "$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
Get-ChildItem "$env:PG_REGRESS"
& "C:\Program Files\PostgreSQL\17\lib\pgxs\src\test\regress\pg_regress.exe" --help 2>&1 | Out-Default

& "$env:PG_REGRESS" "$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
Write-Error "Tests failed"
Expand Down
Loading