# Running: pg_resetwal --help [02:40:14.053](0.172s) ok 1 - pg_resetwal --help exit code 0 [02:40:14.054](0.001s) ok 2 - pg_resetwal --help goes to stdout [02:40:14.055](0.001s) ok 3 - pg_resetwal --help nothing to stderr [02:40:14.056](0.001s) ok 4 - pg_resetwal --help maximum line length # Running: pg_resetwal --version [02:40:14.191](0.135s) ok 5 - pg_resetwal --version exit code 0 [02:40:14.192](0.000s) ok 6 - pg_resetwal --version goes to stdout [02:40:14.193](0.001s) ok 7 - pg_resetwal --version nothing to stderr # Running: pg_resetwal --not-a-valid-option [02:40:14.293](0.100s) ok 8 - pg_resetwal with invalid option nonzero exit code [02:40:14.295](0.001s) ok 9 - pg_resetwal with invalid option prints error message # Checking port 49923 # Found port 49923 Name: main Data directory: C:\cirrus\build/testrun/pg_resetwal/001_basic\data/t_001_basic_main_data/pgdata Backup directory: C:\cirrus\build/testrun/pg_resetwal/001_basic\data/t_001_basic_main_data/backup Archive directory: C:\cirrus\build/testrun/pg_resetwal/001_basic\data/t_001_basic_main_data/archives Connection string: port=49923 host=C:/Windows/TEMP/voWuSkW10W Log file: C:\cirrus\build/testrun/pg_resetwal/001_basic\log/001_basic_main.log [02:40:14.355](0.060s) # initializing database system by copying initdb template # Running: robocopy /E /NJS /NJH /NFL /NDL /NP C:/cirrus/build/tmp_install/initdb-template C:\cirrus\build/testrun/pg_resetwal/001_basic\data/t_001_basic_main_data/pgdata # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build/testrun/pg_resetwal/001_basic\data/t_001_basic_main_data/pgdata # Running: pg_resetwal -n C:\cirrus\build/testrun/pg_resetwal/001_basic\data/t_001_basic_main_data/pgdata [02:40:16.014](1.659s) ok 10 - pg_resetwal -n produces output: exit code 0 [02:40:16.015](0.001s) ok 11 - pg_resetwal -n produces output: no stderr [02:40:16.016](0.000s) ok 12 - pg_resetwal -n produces output: matches [02:40:16.016](0.001s) ok 13 # skip unix-style permissions not supported on Windows # Running: pg_resetwal -D C:\cirrus\build/testrun/pg_resetwal/001_basic\data/t_001_basic_main_data/pgdata Write-ahead log reset [02:40:16.322](0.306s) ok 14 - pg_resetwal runs ### Starting node "main" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_resetwal/001_basic\data/t_001_basic_main_data/pgdata -l C:\cirrus\build/testrun/pg_resetwal/001_basic\log/001_basic_main.log -o --cluster-name=main start waiting for server to start..... stopped waiting pg_ctl: could not start server Examine the log output. # pg_ctl start failed; logfile: 2024-03-31 02:40:16.903 GMT [2220][postmaster] LOG: starting PostgreSQL 17devel on x86_64-windows, compiled by msvc-19.29.30151, 64-bit 2024-03-31 02:40:16.904 GMT [2220][postmaster] LOG: listening on Unix socket "C:/Windows/TEMP/voWuSkW10W/.s.PGSQL.49923" 2024-03-31 02:40:16.960 GMT [5428][startup] LOG: database system was shut down at 2024-03-31 02:40:16 GMT 2024-03-31 02:40:18.914 GMT [2220][postmaster] LOG: startup process (PID 5428) was terminated by exception 0xC0000354 2024-03-31 02:40:18.914 GMT [2220][postmaster] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2024-03-31 02:40:18.915 GMT [2220][postmaster] LOG: aborting startup due to startup process failure 2024-03-31 02:40:18.916 GMT [2220][postmaster] LOG: database system is shut down # No postmaster PID for node "main" [02:40:19.145](2.823s) Bail out! pg_ctl start failed # No postmaster PID for node "main"