Skip to content

Default generate to PGlite#26

Open
mg272011 wants to merge 1 commit into
seveibar:mainfrom
mg272011:codex/pglite-generate-default
Open

Default generate to PGlite#26
mg272011 wants to merge 1 commit into
seveibar:mainfrom
mg272011:codex/pglite-generate-default

Conversation

@mg272011
Copy link
Copy Markdown

@algora-pbc /claim #2

Summary

  • makes pgstrap generate use the existing PGlite path by default so generated projects can run db:generate without a local Postgres server
  • keeps external Postgres generation available through --no-pglite
  • restores DATABASE_URL and closes the temporary PGlite gateway server in a finally block
  • updates README guidance and regression coverage for the default PGlite path

Verification

  • bun test
  • bun run format:check
  • bun run build
  • git diff --check

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.

1 participant