electric-sql / electric-sql/pglite

Options for INITDB behaviour

Open
#149 1 comment 0 reactions 1 assignee Claimed by @pmp-p View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.