Skip to content

feat: default to pglite for type generation without requiring live postgres - #53

Open
nerocorp935 wants to merge 1 commit into
seveibar:mainfrom
nerocorp935:fix/default-pglite-generate
Open

feat: default to pglite for type generation without requiring live postgres#53
nerocorp935 wants to merge 1 commit into
seveibar:mainfrom
nerocorp935:fix/default-pglite-generate

Conversation

@nerocorp935

Copy link
Copy Markdown

Closes #2

Summary

  • Defaults pglite to true in generate() and the CLI (pgstrap generate) so that running type generation works out-of-the-box using in-memory PGlite without requiring a running PostgreSQL server.
  • Allows disabling PGlite by passing --no-pglite to target a live PostgreSQL instance.
  • Adds test coverage verifying that generate() completes and dumps structure with PGlite when no parameters are explicitly provided.
  • Updates documentation in README.md.

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.

Use pglite so that postgres isn't required when generating types

1 participant