[windows] Pin PostgreSQL and Update LLVM (#10014)

* [windows] Pin PostgreSQL version

* Fix if statement

* Fix PostgreSQL pester test

* Update LLVM to 18*
This commit is contained in:
Shamil Mubarakshin
2024-06-08 11:02:11 +02:00
committed by GitHub
parent 7271f004d4
commit 870d08d9cb
4 changed files with 49 additions and 41 deletions

View File

@@ -72,8 +72,8 @@ Describe "PostgreSQL" {
}
Context "PostgreSQL version" {
It "PostgreSQL version should correspond to the version in the toolset" {
$toolsetVersion = (Get-ToolsetContent).postgresql.version
It "PostgreSQL version should correspond to the Major version in the toolset" {
$toolsetVersion = (Get-ToolsetContent).postgresql.version.Split(".")[0]
# Client version
(& $env:PGBIN\psql --version).split()[-1] | Should -BeLike "$toolsetVersion*"
# Server version