Skip to content

Fix Windows existing-instance startup - #27

Merged
nicoloboschi merged 1 commit into
mainfrom
agent/fix-windows-existing-start
Jul 29, 2026
Merged

Fix Windows existing-instance startup#27
nicoloboschi merged 1 commit into
mainfrom
agent/fix-windows-existing-start

Conversation

@nicoloboschi

Copy link
Copy Markdown
Collaborator

Summary

  • remove the obsolete pg_textsearch documentation and installer
  • replace Windows tasklist process probing with a direct Win32 handle query
  • add a timeout-bound Windows regression test for restarting an existing instance

Root cause

Starting an existing instance called tasklist synchronously before PostgreSQL setup emitted any output. If that external command blocked, pg0 start appeared to hang indefinitely.

Validation

  • cargo metadata --no-deps --format-version 1
  • Python syntax parse for the updated test module
  • git diff --check

The local macOS host cannot complete a Windows cross-build because its C cross-toolchain lacks Windows headers; the GitHub Windows CI job will execute the regression test.

@nicoloboschi
nicoloboschi marked this pull request as ready for review July 29, 2026 07:45
@nicoloboschi
nicoloboschi merged commit ab36f93 into main Jul 29, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant