Skip to content

Commit 8d9000a

Browse files
authored
fix(embedded-db): bump pg0-embedded to 0.14.2 for clean stop/restart (#1892)
pg0-embedded 0.14.2 makes `pg0 stop` wait for the postmaster to fully exit (pg_ctl -w semantics) instead of sending SIGTERM and returning after a fixed 2s sleep. The old behaviour let DaemonEmbedManager.stop() return while PostgreSQL was still draining, so a following start raced the still-live postmaster.pid and either failed or logged 'unexpected postmaster exit'. Raise the floor from >=0.14.0 to >=0.14.2 so the fix is always present. Fixes #1796
1 parent df73c79 commit 8d9000a

2 files changed

Lines changed: 15 additions & 9 deletions

File tree

hindsight-api-slim/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ local-llm = [
9393
"huggingface-hub>=0.20.0",
9494
]
9595
embedded-db = [
96-
"pg0-embedded>=0.14.0",
96+
"pg0-embedded>=0.14.2",
9797
]
9898
oracle = [
9999
"oracledb>=2.5.0",

uv.lock

Lines changed: 14 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)