mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:28:55 +00:00
[ticket/16920] Try fixing PostgreSQL startup error on Windows server
PHPBB3-16920
This commit is contained in:
parent
4b62f57481
commit
3bf065fd4f
1 changed files with 1 additions and 0 deletions
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
|
@ -566,6 +566,7 @@ jobs:
|
||||||
[System.Environment]::SetEnvironmentVariable('PATH',$Env:PATH+";${env:PGBIN}")
|
[System.Environment]::SetEnvironmentVariable('PATH',$Env:PATH+";${env:PGBIN}")
|
||||||
$env:PGPASSWORD = 'root'
|
$env:PGPASSWORD = 'root'
|
||||||
psql -c hot_standby=on
|
psql -c hot_standby=on
|
||||||
|
psql -c wal_level=minimal
|
||||||
psql -c 'DROP DATABASE IF EXISTS phpbb_tests;' -U postgres
|
psql -c 'DROP DATABASE IF EXISTS phpbb_tests;' -U postgres
|
||||||
psql -c 'create database phpbb_tests;' -U postgres
|
psql -c 'create database phpbb_tests;' -U postgres
|
||||||
Set-MpPreference -ExclusionPath "${env:PGDATA}" # Exclude PGDATA directory from Windows Defender
|
Set-MpPreference -ExclusionPath "${env:PGDATA}" # Exclude PGDATA directory from Windows Defender
|
||||||
|
|
Loading…
Add table
Reference in a new issue