electric-sql / electric-sql/pglite
Options for INITDB behaviour
Open
enhancement
waiting for update
- Dominant language
- TypeScript
- Stars
- 16k
- Forks
- 442
- Avg merge
- 20h 19m
- Merged PRs (30d)
- 7
Description
We should make the behaviour of initdb configurable with an `initdb` option to the constructor:
- `"auto"` run it if needed (current behaviour)
- `false` don't ever run it, throw if there is no datadir
- `true` always run, and show is there is a datadir
- `"minimal"` like auto but only create a `template1` so a smaller datadir
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.