Skip to content

Commit

Permalink
use pgwinmajor - EDB Windows PG 17 installer PGREGRESS2 - new locatio…
Browse files Browse the repository at this point in the history
…n - ${env:pgwinmajor}\lib\pgxs\src\test\regress
  • Loading branch information
AndreMikulec committed Sep 29, 2024
1 parent c877bec commit 740493f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/buildPLR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ jobs:
${env:PGROOT2} = "notset"
if("${env:Platform}" -eq "x64") {
${env:PGBIN2} = "C:\Program Files\PostgreSQL\${env:pgwinmajor}\bin"
if([int]${env:pgWINversion} -ge 17) {
if([int]${env:pgwinmajor} -ge 17) {
${env:PGREGRESS2} = "C:\Program Files\PostgreSQL\${env:pgwinmajor}\lib\pgxs\src\test\regress"
} else {
${env:PGREGRESS2} = "C:\Program Files\PostgreSQL\${env:pgwinmajor}\bin"
Expand All @@ -618,7 +618,7 @@ jobs:
}
if("${env:Platform}" -eq "x86") {
${env:PGBIN2} = "C:\Program Files (x86)\PostgreSQL\${env:pgwinmajor}\bin"
if([int]${env:pgWINversion} -ge 17) {
if([int]${env:pgwinmajor} -ge 17) {
${env:PGREGRESS2} = "C:\Program Files (x86)\PostgreSQL\${env:pgwinmajor}\lib\pgxs\src\test\regress"
} else {
${env:PGREGRESS2} = "C:\Program Files (x86)\PostgreSQL\${env:pgwinmajor}\bin"
Expand Down

0 comments on commit 740493f

Please sign in to comment.