{"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:479", "message": "init_postgres_database entry", "data": {}, "timestamp": 1767425461815} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767425461816} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425461816} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 4 RUNNING \n (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)\n", "stderr": ""}, "timestamp": 1767425461824} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425461824} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767425466357} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767425466357} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767425466358} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:530", "message": "before initdb", "data": {"initdb_exe": "D:\\app\\postgresql\\bin\\initdb.exe", "data_dir": "D:\\app\\postgresql\\data"}, "timestamp": 1767425474729} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:540", "message": "initdb result", "data": {"returncode": 1, "stdout": "\u06b4\u077f\u03f5\u0373\u013c\u03aa\u00fb \"Administrator\".\n\u00fb\u04b2\u03aa\u0335.\n\u077f\u063d\u02b9\u00f1\u063b \"C\"\u0433\u02bc.\n\u0231\u02a1\u0131\u00fd\u1c7b\u00f5\"english\"\n\n\u05b9\u03aa\u04b3\u0423.\n\n\u013f\u00bc D:/app/postgresql/data ... ", "stderr": "initdb: : \u07b7\u013f\u00bc \"D:/app/postgresql/data\": Permission denied\n"}, "timestamp": 1767425474782} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767425479449} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425479449} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767425479456} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425479456} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "D", "location": "postgresql.py:47", "message": "is_service_running entry", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767425479457} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "D", "location": "postgresql.py:60", "message": "service status check result", "data": {"service_name": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n", "is_running": false}, "timestamp": 1767425479462} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:112", "message": "start_postgres_service entry", "data": {}, "timestamp": 1767425483416} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767425483417} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425483417} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767425483425} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425483426} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A,B", "location": "postgresql.py:118", "message": "got service name", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767425483426} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:123", "message": "before net start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767425483427} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:132", "message": "net start result", "data": {"returncode": 2, "stdout": "postgresql-x64-16 - PostgreSQL Server 16 .\n", "stderr": "postgresql-x64-16 - PostgreSQL Server 16 \u07b7\n\n\u00fb\u0431\u03ba\u03b4\n\n NET HELPMSG 3534 \u053b\u00f8\u0130\n\n"}, "timestamp": 1767425485965} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:142", "message": "net start failed, trying sc start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767425485966} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:150", "message": "sc start result", "data": {"returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 2 START_PENDING \n (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)\n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0xea60\n PID : 19056\n FLAGS : \n", "stderr": ""}, "timestamp": 1767425485984} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B", "location": "postgresql.py:238", "message": "sc start command succeeded, waiting to verify", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767425485985} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,E", "location": "postgresql.py:246", "message": "checking service status after start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767425490987} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,E", "location": "postgresql.py:256", "message": "service status after start", "data": {"service_name": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n", "is_running": false}, "timestamp": 1767425490997} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767425490998} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767425490998} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": false}, "timestamp": 1767425490999} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "C:/Program Files/PostgreSQL/15/data", "exists": false}, "timestamp": 1767425491000} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "C:/Program Files/PostgreSQL/14/data", "exists": false}, "timestamp": 1767425491000} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "C:/Program Files/PostgreSQL/13/data", "exists": false}, "timestamp": 1767425491000} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "C:/Program Files/PostgreSQL/12/data", "exists": false}, "timestamp": 1767425491000} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:186", "message": "data directory not found", "data": {}, "timestamp": 1767425491000} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:268", "message": "service stopped after start, checking logs", "data": {"service_name": "postgresql-x64-16", "data_dir": null, "status_output": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n"}, "timestamp": 1767425491000} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767425491001} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767425491001} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": false}, "timestamp": 1767425491001} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "C:/Program Files/PostgreSQL/15/data", "exists": false}, "timestamp": 1767425491001} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "C:/Program Files/PostgreSQL/14/data", "exists": false}, "timestamp": 1767425491002} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "C:/Program Files/PostgreSQL/13/data", "exists": false}, "timestamp": 1767425491002} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "C:/Program Files/PostgreSQL/12/data", "exists": false}, "timestamp": 1767425491002} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:186", "message": "data directory not found", "data": {}, "timestamp": 1767425491002} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:299", "message": "exception checking data directory", "data": {"error": "\u65e0\u6cd5\u627e\u5230 PostgreSQL \u6570\u636e\u76ee\u5f55"}, "timestamp": 1767425491003} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:307", "message": "reading windows event log", "data": {}, "timestamp": 1767425491003} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:318", "message": "windows event log retrieved", "data": {"event_log": "\u06b5\u0234\u02b1\u02b1\n\n initdb pg_basebackup \u0533\u02bc\u04bb PostgreSQL \u013f\u00bc.\n\npostgres: \u07b7\u013f\u00bc \"D:/app/postgresql/data\": No such file or directory\n\n\n"}, "timestamp": 1767425491129} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:479", "message": "init_postgres_database entry", "data": {}, "timestamp": 1767425522924} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767425522925} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425522925} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767425522933} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425522933} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767425525024} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767425525024} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": false}, "timestamp": 1767425525025} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "C:/Program Files/PostgreSQL/15/data", "exists": false}, "timestamp": 1767425525025} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "C:/Program Files/PostgreSQL/14/data", "exists": false}, "timestamp": 1767425525025} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "C:/Program Files/PostgreSQL/13/data", "exists": false}, "timestamp": 1767425525025} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "C:/Program Files/PostgreSQL/12/data", "exists": false}, "timestamp": 1767425525026} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:186", "message": "data directory not found", "data": {}, "timestamp": 1767425525026} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:575", "message": "exception in init_postgres_database", "data": {"error": "\u65e0\u6cd5\u627e\u5230 PostgreSQL \u6570\u636e\u76ee\u5f55", "error_type": "FileNotFoundError"}, "timestamp": 1767425525026} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:479", "message": "init_postgres_database entry", "data": {}, "timestamp": 1767425555873} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767425555874} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425555874} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767425555879} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425555879} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767425557961} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767425557961} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767425557962} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:530", "message": "before initdb", "data": {"initdb_exe": "D:\\app\\postgresql\\bin\\initdb.exe", "data_dir": "D:\\app\\postgresql\\data"}, "timestamp": 1767425557964} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:540", "message": "initdb result", "data": {"returncode": 0, "stdout": "\u06b4\u077f\u03f5\u0373\u013c\u03aa\u00fb \"Administrator\".\n\u00fb\u04b2\u03aa\u0335.\n\u077f\u063d\u02b9\u00f1\u063b \"C\"\u0433\u02bc.\n\u0231\u02a1\u0131\u00fd\u1c7b\u00f5\"english\"\n\n\u05b9\u03aa\u04b3\u0423.\n\n\u07b8\u0474\u013f\u00bc D:/app/postgresql/data \u0228 ... \u0279\n\u06b4\u013f\u00bc ... \u0279\n\u0461\u032c\u06b4\u02b5 ......windows\n\u0461\u012c (max_connections) ... 100\n\u0461\u012c\u03f9\u0421 (shared_buffers) ... 128MB\n\u0461\u012c\u02b1 ... Asia/Shanghai\n\u013c ... \u0279\n\u053e\u067d\u0171 ...\u0279\n\u05b4\u053e\u067a\u02bc ...\u0279\n\u036c\u0775...\u0279\n\n\u0279\u06bf\uefea\u077f\n\n ^\"D^:^\\app^\\postgresql^\\bin^\\pg^_ctl^\" -D ^\"D^:^\\app^\\postgresql^\\data^\" -l \u05be\u013c start\n\n", "stderr": ""}, "timestamp": 1767425560576} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:112", "message": "start_postgres_service entry", "data": {}, "timestamp": 1767425562591} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767425562591} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425562592} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767425562598} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425562598} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A,B", "location": "postgresql.py:118", "message": "got service name", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767425562599} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:123", "message": "before net start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767425562599} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:132", "message": "net start result", "data": {"returncode": 0, "stdout": "postgresql-x64-16 - PostgreSQL Server 16 .\npostgresql-x64-16 - PostgreSQL Server 16 \u047e\u0279\n\n", "stderr": ""}, "timestamp": 1767425565128} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B", "location": "postgresql.py:137", "message": "net start succeeded", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767425565128} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767425569760} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425569760} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 4 RUNNING \n (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)\n", "stderr": ""}, "timestamp": 1767425569768} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767425569769} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "D", "location": "postgresql.py:47", "message": "is_service_running entry", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767425569769} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "D", "location": "postgresql.py:60", "message": "service status check result", "data": {"service_name": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 4 RUNNING \n (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)\n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT ", "is_running": true}, "timestamp": 1767425569776} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426076003} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426076003} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 4 RUNNING \n (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)\n", "stderr": ""}, "timestamp": 1767426076011} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426076011} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767426081547} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767426081548} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767426081548} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:112", "message": "start_postgres_service entry", "data": {}, "timestamp": 1767426084734} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426084737} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426084738} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767426084749} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426084749} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A,B", "location": "postgresql.py:118", "message": "got service name", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426084749} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:123", "message": "before net start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426084750} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:132", "message": "net start result", "data": {"returncode": 2, "stdout": "postgresql-x64-16 - PostgreSQL Server 16 .\n", "stderr": "postgresql-x64-16 - PostgreSQL Server 16 \u07b7\n\n\u00fb\u0431\u03ba\u03b4\n\n NET HELPMSG 3534 \u053b\u00f8\u0130\n\n"}, "timestamp": 1767426087288} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:142", "message": "net start failed, trying sc start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426087289} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:150", "message": "sc start result", "data": {"returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 2 START_PENDING \n (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)\n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0xea60\n PID : 28776\n FLAGS : \n", "stderr": ""}, "timestamp": 1767426087304} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B", "location": "postgresql.py:238", "message": "sc start command succeeded, waiting to verify", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426087304} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,E", "location": "postgresql.py:246", "message": "checking service status after start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426092320} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,E", "location": "postgresql.py:256", "message": "service status after start", "data": {"service_name": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n", "is_running": false}, "timestamp": 1767426092334} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767426092334} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767426092335} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767426092335} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:268", "message": "service stopped after start, checking logs", "data": {"service_name": "postgresql-x64-16", "data_dir": "D:\\app\\postgresql\\data", "status_output": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n"}, "timestamp": 1767426092336} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767426092336} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767426092336} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767426092337} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:287", "message": "checking data directory validity", "data": {"data_dir": "D:\\app\\postgresql\\data", "pg_version_exists": true}, "timestamp": 1767426092337} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:307", "message": "reading windows event log", "data": {}, "timestamp": 1767426092338} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:318", "message": "windows event log retrieved", "data": {"event_log": "\u06b5\u0234\u02b1\u02b1\n\n2026-01-03 15:41:27 CST : \u07b7\u013c \"postmaster.pid\": Permission denied\n\n\u0234 ...\n\n\n"}, "timestamp": 1767426092487} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426100744} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426100745} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767426100758} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426100758} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "D", "location": "postgresql.py:47", "message": "is_service_running entry", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426100759} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "D", "location": "postgresql.py:60", "message": "service status check result", "data": {"service_name": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n", "is_running": false}, "timestamp": 1767426100767} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:112", "message": "start_postgres_service entry", "data": {}, "timestamp": 1767426104365} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426104365} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426104366} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767426104377} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426104377} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A,B", "location": "postgresql.py:118", "message": "got service name", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426104378} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:123", "message": "before net start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426104378} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:132", "message": "net start result", "data": {"returncode": 2, "stdout": "postgresql-x64-16 - PostgreSQL Server 16 .\n", "stderr": "postgresql-x64-16 - PostgreSQL Server 16 \u07b7\n\n\u00fb\u0431\u03ba\u03b4\n\n NET HELPMSG 3534 \u053b\u00f8\u0130\n\n"}, "timestamp": 1767426106919} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:142", "message": "net start failed, trying sc start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426106920} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:150", "message": "sc start result", "data": {"returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 2 START_PENDING \n (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)\n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0xea60\n PID : 4184\n FLAGS : \n", "stderr": ""}, "timestamp": 1767426106942} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B", "location": "postgresql.py:238", "message": "sc start command succeeded, waiting to verify", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426106943} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,E", "location": "postgresql.py:246", "message": "checking service status after start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426111958} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,E", "location": "postgresql.py:256", "message": "service status after start", "data": {"service_name": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n", "is_running": false}, "timestamp": 1767426111964} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767426111965} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767426111965} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767426111966} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:268", "message": "service stopped after start, checking logs", "data": {"service_name": "postgresql-x64-16", "data_dir": "D:\\app\\postgresql\\data", "status_output": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n"}, "timestamp": 1767426111966} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767426111966} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767426111966} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767426111967} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:287", "message": "checking data directory validity", "data": {"data_dir": "D:\\app\\postgresql\\data", "pg_version_exists": true}, "timestamp": 1767426111967} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:307", "message": "reading windows event log", "data": {}, "timestamp": 1767426111968} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:318", "message": "windows event log retrieved", "data": {"event_log": "\u06b5\u0234\u02b1\u02b1\n\n2026-01-03 15:41:47 CST : \u07b7\u013c \"postmaster.pid\": Permission denied\n\n\u0234 ...\n\n\n"}, "timestamp": 1767426112099} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426114604} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426114605} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767426114615} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426114615} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "D", "location": "postgresql.py:47", "message": "is_service_running entry", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426114616} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "D", "location": "postgresql.py:60", "message": "service status check result", "data": {"service_name": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n", "is_running": false}, "timestamp": 1767426114624} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:636", "message": "restore_from_backup entry", "data": {"backup_path": "D:\\code\\vue\\greater_wms\\backup\\base_backup\\20260103_144522"}, "timestamp": 1767426250827} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:669", "message": "backup version read", "data": {"backup_version": "16"}, "timestamp": 1767426250827} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:675", "message": "stopping postgres service", "data": {}, "timestamp": 1767426250828} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426250828} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426250828} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767426250834} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426250834} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767426253929} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767426253931} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767426253934} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:680", "message": "got data directory", "data": {"data_dir": "D:\\app\\postgresql\\data"}, "timestamp": 1767426253936} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:688", "message": "checking existing data directory", "data": {"data_dir": "D:\\app\\postgresql\\data", "exists": true, "has_content": true}, "timestamp": 1767426253937} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:695", "message": "current data directory backed up", "data": {"backup_dir": "D:\\app\\postgresql\\data_backup_1767426253"}, "timestamp": 1767426253939} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:702", "message": "starting file copy", "data": {"backup_dir": "D:\\code\\vue\\greater_wms\\backup\\base_backup\\20260103_144522", "data_dir": "D:\\app\\postgresql\\data"}, "timestamp": 1767426253943} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:724", "message": "file copy completed", "data": {"copied_count": 26, "items": ["file:backup_label", "file:backup_manifest", "dir:base", "file:current_logfiles", "dir:global", "dir:log", "dir:pg_commit_ts", "dir:pg_dynshmem", "file:pg_hba.conf", "file:pg_ident.conf"]}, "timestamp": 1767426255157} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:752", "message": "starting postgres service", "data": {}, "timestamp": 1767426255158} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:112", "message": "start_postgres_service entry", "data": {}, "timestamp": 1767426257168} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426257170} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426257172} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767426257184} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426257185} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A,B", "location": "postgresql.py:118", "message": "got service name", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426257185} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:123", "message": "before net start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426257186} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:132", "message": "net start result", "data": {"returncode": 2, "stdout": "postgresql-x64-16 - PostgreSQL Server 16 .\n", "stderr": "postgresql-x64-16 - PostgreSQL Server 16 \u07b7\n\n\u00fb\u0431\u03ba\u03b4\n\n NET HELPMSG 3534 \u053b\u00f8\u0130\n\n"}, "timestamp": 1767426259721} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:142", "message": "net start failed, trying sc start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426259722} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:150", "message": "sc start result", "data": {"returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 2 START_PENDING \n (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)\n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0xea60\n PID : 11412\n FLAGS : \n", "stderr": ""}, "timestamp": 1767426259743} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B", "location": "postgresql.py:238", "message": "sc start command succeeded, waiting to verify", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426259744} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,E", "location": "postgresql.py:246", "message": "checking service status after start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426264746} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,E", "location": "postgresql.py:256", "message": "service status after start", "data": {"service_name": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n", "is_running": false}, "timestamp": 1767426264761} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767426264761} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767426264762} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767426264762} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:268", "message": "service stopped after start, checking logs", "data": {"service_name": "postgresql-x64-16", "data_dir": "D:\\app\\postgresql\\data", "status_output": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n"}, "timestamp": 1767426264763} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767426264763} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767426264763} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767426264764} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:287", "message": "checking data directory validity", "data": {"data_dir": "D:\\app\\postgresql\\data", "pg_version_exists": true}, "timestamp": 1767426264765} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:307", "message": "reading windows event log", "data": {}, "timestamp": 1767426264765} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:318", "message": "windows event log retrieved", "data": {"event_log": "\u06b5\u0234\u02b1\u02b1\n\n2026-01-03 15:44:19 CST : \u07b7\u013c \"postmaster.pid\": Permission denied\n\n\u0234 ...\n\n\n"}, "timestamp": 1767426264910} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:754", "message": "service start result", "data": {"started": false}, "timestamp": 1767426264910} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:769", "message": "service start failed", "data": {}, "timestamp": 1767426264910} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:636", "message": "restore_from_backup entry", "data": {"backup_path": "D:\\code\\vue\\greater_wms\\backup\\base_backup\\20260103_144522"}, "timestamp": 1767426278198} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:669", "message": "backup version read", "data": {"backup_version": "16"}, "timestamp": 1767426278198} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:675", "message": "stopping postgres service", "data": {}, "timestamp": 1767426278198} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426278199} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426278199} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767426278205} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426278205} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767426281294} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767426281295} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767426281295} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:680", "message": "got data directory", "data": {"data_dir": "D:\\app\\postgresql\\data"}, "timestamp": 1767426281296} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:688", "message": "checking existing data directory", "data": {"data_dir": "D:\\app\\postgresql\\data", "exists": true, "has_content": true}, "timestamp": 1767426281296} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:695", "message": "current data directory backed up", "data": {"backup_dir": "D:\\app\\postgresql\\data_backup_1767426281"}, "timestamp": 1767426281299} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:702", "message": "starting file copy", "data": {"backup_dir": "D:\\code\\vue\\greater_wms\\backup\\base_backup\\20260103_144522", "data_dir": "D:\\app\\postgresql\\data"}, "timestamp": 1767426281300} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:724", "message": "file copy completed", "data": {"copied_count": 26, "items": ["file:backup_label", "file:backup_manifest", "dir:base", "file:current_logfiles", "dir:global", "dir:log", "dir:pg_commit_ts", "dir:pg_dynshmem", "file:pg_hba.conf", "file:pg_ident.conf"]}, "timestamp": 1767426282500} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:752", "message": "starting postgres service", "data": {}, "timestamp": 1767426282501} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:112", "message": "start_postgres_service entry", "data": {}, "timestamp": 1767426284505} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426284505} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426284506} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767426284515} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426284515} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A,B", "location": "postgresql.py:118", "message": "got service name", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426284516} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:123", "message": "before net start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426284516} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:132", "message": "net start result", "data": {"returncode": 2, "stdout": "postgresql-x64-16 - PostgreSQL Server 16 .\n", "stderr": "postgresql-x64-16 - PostgreSQL Server 16 \u07b7\n\n\u00fb\u0431\u03ba\u03b4\n\n NET HELPMSG 3534 \u053b\u00f8\u0130\n\n"}, "timestamp": 1767426287058} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:142", "message": "net start failed, trying sc start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426287058} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:150", "message": "sc start result", "data": {"returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 2 START_PENDING \n (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)\n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0xea60\n PID : 29004\n FLAGS : \n", "stderr": ""}, "timestamp": 1767426287071} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B", "location": "postgresql.py:238", "message": "sc start command succeeded, waiting to verify", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426287071} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,E", "location": "postgresql.py:246", "message": "checking service status after start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426292084} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,E", "location": "postgresql.py:256", "message": "service status after start", "data": {"service_name": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n", "is_running": false}, "timestamp": 1767426292099} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767426292100} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767426292100} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767426292100} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:268", "message": "service stopped after start, checking logs", "data": {"service_name": "postgresql-x64-16", "data_dir": "D:\\app\\postgresql\\data", "status_output": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT : 0x0\n WAIT_HINT : 0x0\n"}, "timestamp": 1767426292101} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767426292101} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767426292102} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767426292102} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:287", "message": "checking data directory validity", "data": {"data_dir": "D:\\app\\postgresql\\data", "pg_version_exists": true}, "timestamp": 1767426292103} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:307", "message": "reading windows event log", "data": {}, "timestamp": 1767426292103} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:318", "message": "windows event log retrieved", "data": {"event_log": "\u06b5\u0234\u02b1\u02b1\n\n2026-01-03 15:44:47 CST : \u07b7\u013c \"postmaster.pid\": Permission denied\n\n\u0234 ...\n\n\n"}, "timestamp": 1767426292246} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:754", "message": "service start result", "data": {"started": false}, "timestamp": 1767426292246} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:769", "message": "service start failed", "data": {}, "timestamp": 1767426292246} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:636", "message": "restore_from_backup entry", "data": {"backup_path": "D:\\code\\vue\\greater_wms\\backup\\base_backup\\20260103_144522"}, "timestamp": 1767426322953} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:669", "message": "backup version read", "data": {"backup_version": "16"}, "timestamp": 1767426322954} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:675", "message": "stopping postgres service", "data": {}, "timestamp": 1767426322954} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426322954} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426322955} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767426322961} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426322961} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:160", "message": "get_postgres_data_dir entry", "data": {}, "timestamp": 1767426326048} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:175", "message": "checking PGDATA env", "data": {"env_path": null, "exists": false}, "timestamp": 1767426326048} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "E", "location": "postgresql.py:182", "message": "checking data path", "data": {"path": "D:/app/postgresql/data", "exists": true}, "timestamp": 1767426326049} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:680", "message": "got data directory", "data": {"data_dir": "D:\\app\\postgresql\\data"}, "timestamp": 1767426326051} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:688", "message": "checking existing data directory", "data": {"data_dir": "D:\\app\\postgresql\\data", "exists": true, "has_content": true}, "timestamp": 1767426326052} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:695", "message": "current data directory backed up", "data": {"backup_dir": "D:\\app\\postgresql\\data_backup_1767426326"}, "timestamp": 1767426326057} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:702", "message": "starting file copy", "data": {"backup_dir": "D:\\code\\vue\\greater_wms\\backup\\base_backup\\20260103_144522", "data_dir": "D:\\app\\postgresql\\data"}, "timestamp": 1767426326058} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:724", "message": "file copy completed", "data": {"copied_count": 26, "items": ["file:backup_label", "file:backup_manifest", "dir:base", "file:current_logfiles", "dir:global", "dir:log", "dir:pg_commit_ts", "dir:pg_dynshmem", "file:pg_hba.conf", "file:pg_ident.conf"]}, "timestamp": 1767426327221} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426327221} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426327221} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767426327228} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426327229} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:760", "message": "set permissions", "data": {"account": "NT AUTHORITY\\NETWORK SERVICE", "data_dir": "D:\\app\\postgresql\\data"}, "timestamp": 1767426327683} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:752", "message": "starting postgres service", "data": {}, "timestamp": 1767426328109} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:112", "message": "start_postgres_service entry", "data": {}, "timestamp": 1767426330118} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426330120} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426330122} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 1 STOPPED \n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0", "stderr": ""}, "timestamp": 1767426330141} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426330141} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A,B", "location": "postgresql.py:118", "message": "got service name", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426330142} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:123", "message": "before net start", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426330142} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B,C", "location": "postgresql.py:132", "message": "net start result", "data": {"returncode": 0, "stdout": "postgresql-x64-16 - PostgreSQL Server 16 ..\npostgresql-x64-16 - PostgreSQL Server 16 \u047e\u0279\n\n", "stderr": ""}, "timestamp": 1767426335186} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "B", "location": "postgresql.py:137", "message": "net start succeeded", "data": {"service_name": "postgresql-x64-16"}, "timestamp": 1767426335187} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:754", "message": "service start result", "data": {"started": true}, "timestamp": 1767426335187} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "D", "location": "postgresql.py:47", "message": "is_service_running entry", "data": {"service_name": null}, "timestamp": 1767426340202} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:19", "message": "get_postgres_service_name entry", "data": {}, "timestamp": 1767426340202} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:35", "message": "checking service", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426340203} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:44", "message": "sc query result", "data": {"service": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 4 RUNNING \n (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)\n", "stderr": ""}, "timestamp": 1767426340211} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "A", "location": "postgresql.py:46", "message": "service found", "data": {"service": "postgresql-x64-16"}, "timestamp": 1767426340211} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "D", "location": "postgresql.py:60", "message": "service status check result", "data": {"service_name": "postgresql-x64-16", "returncode": 0, "stdout": "\nSERVICE_NAME: postgresql-x64-16 \n TYPE : 10 WIN32_OWN_PROCESS \n STATE : 4 RUNNING \n (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)\n WIN32_EXIT_CODE : 0 (0x0)\n SERVICE_EXIT_CODE : 0 (0x0)\n CHECKPOINT ", "is_running": true}, "timestamp": 1767426340216} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:762", "message": "service status check", "data": {"is_running": true}, "timestamp": 1767426340217} {"sessionId": "debug-session", "runId": "run1", "hypothesisId": "RESTORE", "location": "postgresql.py:764", "message": "restore completed successfully", "data": {}, "timestamp": 1767426340217}