Skip to content

v0.1.5 - Windows crash recovery fix

Latest

Choose a tag to compare

@yafitzdev yafitzdev released this 30 Jan 17:43

What's New

Fork of pgserver with Windows crash recovery fixes:

  • Log file moved outside pgdata - Avoids sharing violations during crash recovery
  • Lock acquisition timeout (10s) - Prevents infinite hangs from stale locks
  • All wait loops have timeouts - Fails fast with diagnostics

Performance

Scenario pgserver fitz-pgserver
Crash recovery ~33s ~1-2s

Installation

pip install fitz-pgserver

Usage

import fitz_pgserver as pgserver

server = pgserver.get_server("./my_pgdata")
uri = server.get_uri()