# Running: pg_ctl -D C:\cirrus\build\testrun\pg_ctl\003_promote\data\tmp_test_V_uf/nonexistent promote [23:10:20.437](0.373s) ok 1 - pg_ctl promote with nonexistent directory: exit code not 0 [23:10:20.439](0.002s) ok 2 - pg_ctl promote with nonexistent directory: matches # Checking port 52222 # Found port 52222 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=52222 host=C:/Windows/TEMP/tTkARrUkBi Log file: C:\cirrus\build/testrun/pg_ctl/003_promote\log/003_promote_primary.log [23:10:20.530](0.091s) # 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 [23:10:21.634](1.104s) ok 3 - pg_ctl promote of not running instance fails: exit code not 0 [23:10:21.635](0.001s) 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-02 23:10:21.897 GMT [4888][postmaster] LOG: starting PostgreSQL 17devel on x86_64-windows, compiled by msvc-19.29.30151, 64-bit 2024-04-02 23:10:21.899 GMT [4888][postmaster] LOG: listening on Unix socket "C:/Windows/TEMP/tTkARrUkBi/.s.PGSQL.52222" 2024-04-02 23:10:21.926 GMT [5504][startup] LOG: database system was shut down at 2024-04-02 23:08:56 GMT 2024-04-02 23:10:23.577 GMT [4888][postmaster] LOG: startup process (PID 5504) was terminated by exception 0xC0000354 2024-04-02 23:10:23.577 GMT [4888][postmaster] HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2024-04-02 23:10:23.578 GMT [4888][postmaster] LOG: aborting startup due to startup process failure 2024-04-02 23:10:23.578 GMT [4888][postmaster] LOG: database system is shut down # No postmaster PID for node "primary" [23:10:23.652](2.017s) Bail out! pg_ctl start failed # No postmaster PID for node "primary"