mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 23:45:20 +02:00
[ticket/16939] Use ALTER SYSTEM queries to modify psql config variables
PHPBB3-16939
This commit is contained in:
parent
710aa10905
commit
6801f7949f
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -564,8 +564,8 @@ 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 'ALTER SYSTEM SET hot_standby = on;' -U postgres
|
||||||
psql -c wal_level=minimal
|
psql -c 'ALTER SYSTEM SET wal_level = minimal;' -U postgres
|
||||||
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…
x
Reference in New Issue
Block a user