1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-18 08:01:10 +02:00

[ticket/16920] Try fixing PostgreSQL startup error on Windows server

PHPBB3-16920
This commit is contained in:
rxu
2021-12-01 23:46:53 +07:00
parent 4b62f57481
commit 3bf065fd4f

View File

@ -566,6 +566,7 @@ jobs:
[System.Environment]::SetEnvironmentVariable('PATH',$Env:PATH+";${env:PGBIN}")
$env:PGPASSWORD = 'root'
psql -c hot_standby=on
psql -c wal_level=minimal
psql -c 'DROP DATABASE IF EXISTS phpbb_tests;' -U postgres
psql -c 'create database phpbb_tests;' -U postgres
Set-MpPreference -ExclusionPath "${env:PGDATA}" # Exclude PGDATA directory from Windows Defender