# Running: pg_ctl -D C:\cirrus\build\testrun\pg_ctl\003_promote\data\tmp_test_GnEH/nonexistent promote [10:37:42.554](0.075s) ok 1 - pg_ctl promote with nonexistent directory: exit code not 0 [10:37:42.554](0.000s) ok 2 - pg_ctl promote with nonexistent directory: matches # Checking port 63281 # Found port 63281 Name: primary Data directory: C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/pgdata Backup directory: C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/backup Archive directory: C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/archives Connection string: port=63281 host=C:/Windows/TEMP/wV1huwKIfh Log file: C:\cirrus\build/testrun/pg_ctl/003_promote\log/003_promote_primary.log [10:37:42.576](0.021s) # 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_ctl/003_promote\data/t_003_promote_primary_data/pgdata # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/pgdata # Running: pg_ctl -D C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/pgdata promote [10:37:44.062](1.487s) ok 3 - pg_ctl promote of not running instance fails: exit code not 0 [10:37:44.063](0.000s) ok 4 - pg_ctl promote of not running instance fails: matches ### Starting node "primary" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_ctl/003_promote\data/t_003_promote_primary_data/pgdata -l C:\cirrus\build/testrun/pg_ctl/003_promote\log/003_promote_primary.log -o --cluster-name=primary 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-01 10:37:44.294 GMT [6136][postmaster] LOG: starting PostgreSQL 17devel on x86_64-windows, compiled by msvc-19.29.30151, 64-bit 2024-04-01 10:37:44.296 GMT [6136][postmaster] LOG: listening on Unix socket "C:/Windows/TEMP/wV1huwKIfh/.s.PGSQL.63281" 2024-04-01 10:37:44.320 GMT [2508][startup] LOG: database system was shut down at 2024-04-01 10:36:15 GMT 2024-04-01 10:37:46.048 GMT [6136][postmaster] LOG: startup process (PID 2508) was terminated by exception 0xC0000354 2024-04-01 10:37:46.048 GMT [6136][postmaster] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2024-04-01 10:37:46.049 GMT [6136][postmaster] LOG: aborting startup due to startup process failure 2024-04-01 10:37:46.049 GMT [6136][postmaster] LOG: database system is shut down # No postmaster PID for node "primary" [10:37:46.113](2.050s) Bail out! pg_ctl start failed # No postmaster PID for node "primary"