# Running: pg_resetwal --help [22:15:22.146](0.077s) ok 1 - pg_resetwal --help exit code 0 [22:15:22.146](0.001s) ok 2 - pg_resetwal --help goes to stdout [22:15:22.147](0.000s) ok 3 - pg_resetwal --help nothing to stderr [22:15:22.147](0.000s) ok 4 - pg_resetwal --help maximum line length # Running: pg_resetwal --version [22:15:22.245](0.098s) ok 5 - pg_resetwal --version exit code 0 [22:15:22.246](0.000s) ok 6 - pg_resetwal --version goes to stdout [22:15:22.246](0.000s) ok 7 - pg_resetwal --version nothing to stderr # Running: pg_resetwal --not-a-valid-option [22:15:22.291](0.045s) ok 8 - pg_resetwal with invalid option nonzero exit code [22:15:22.292](0.001s) ok 9 - pg_resetwal with invalid option prints error message # Checking port 61219 # Found port 61219 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=61219 host=C:/Windows/TEMP/ya_a19yK7V Log file: C:\cirrus\build/testrun/pg_resetwal/001_basic\log/001_basic_main.log [22:15:22.325](0.033s) # 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 [22:15:24.026](1.701s) ok 10 - pg_resetwal -n produces output: exit code 0 [22:15:24.027](0.000s) ok 11 - pg_resetwal -n produces output: no stderr [22:15:24.027](0.000s) ok 12 - pg_resetwal -n produces output: matches [22:15:24.027](0.000s) 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 [22:15:24.102](0.075s) 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-04-02 22:15:24.309 GMT [824][postmaster] LOG: starting PostgreSQL 17devel on x86_64-windows, compiled by msvc-19.29.30151, 64-bit 2024-04-02 22:15:24.311 GMT [824][postmaster] LOG: listening on Unix socket "C:/Windows/TEMP/ya_a19yK7V/.s.PGSQL.61219" 2024-04-02 22:15:24.356 GMT [5184][startup] LOG: database system was shut down at 2024-04-02 22:15:24 GMT 2024-04-02 22:15:25.969 GMT [824][postmaster] LOG: startup process (PID 5184) was terminated by exception 0xC0000354 2024-04-02 22:15:25.969 GMT [824][postmaster] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2024-04-02 22:15:25.970 GMT [824][postmaster] LOG: aborting startup due to startup process failure 2024-04-02 22:15:25.971 GMT [824][postmaster] LOG: database system is shut down # No postmaster PID for node "main" [22:15:26.019](1.917s) Bail out! pg_ctl start failed # No postmaster PID for node "main"