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-pgserverUsage
import fitz_pgserver as pgserver
server = pgserver.get_server("./my_pgdata")
uri = server.get_uri()