Skip to content

Comments

Make usable with existing clusters#3

Open
minus7 wants to merge 2 commits intomasterfrom
non-temporary-clusters
Open

Make usable with existing clusters#3
minus7 wants to merge 2 commits intomasterfrom
non-temporary-clusters

Conversation

@minus7
Copy link
Member

@minus7 minus7 commented Feb 19, 2026

Add a Cluster abstraction and the ability to instantiate a postgres
daemon from an existing cluster directory. Also add that feature to the
wrapper tool.

Cluster and Instance aren't integrated with each other yet, but this is a big step to make running a postgres daemon possible from a Go program, for example when you want to run your software in a container including the database.

Add a Cluster abstraction and the ability to instantiate a postgres
daemon from an existing cluster directory. Also add that feature to the
wrapper tool.
SIGTERM causes postgres to wait for open connections to disconnect
("smart shutdown"), while SIGINT shuts down immediately.
@minus7 minus7 force-pushed the non-temporary-clusters branch from 9862e1c to dfca83d Compare February 20, 2026 21:45
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.

2 participants