Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed Postgres with OpenGB CLI to remove Docker dependency #125

Open
NathanFlurry opened this issue Mar 6, 2024 — with Linear · 2 comments
Open

Embed Postgres with OpenGB CLI to remove Docker dependency #125

NathanFlurry opened this issue Mar 6, 2024 — with Linear · 2 comments
Labels
enhancement New feature or request

Comments

Copy link
Member

NathanFlurry commented Mar 6, 2024

See:

Easiest path is likely to use the Rust library to create a Deno plugin.

Before embarking on this, ensure that

  • This solution is portable
  • Supports the same extensions that's available on Neon
  • Still supports a Docker fallback
@NathanFlurry NathanFlurry added the enhancement New feature or request label Mar 6, 2024 — with Linear
Copy link

linear bot commented Mar 6, 2024

OGBE-69 Embed Postgres with OpenGB CLI to remove Docker dependency

See:

Easiest path is likely to use the Rust library to create a Deno plugin.

Before embarking on this, ensure that

  • This solution is portable
  • Supports the same extensions that's available on Neon
  • Still supports a Docker fallback

@AngelOnFira
Copy link
Contributor

fwiw there are some bugs that can come from pg-embed in terms of making sure postgres is downloaded properly and running, and it's less maintained. Not too hard to work get around though, it's a pretty light wrapper I think.

Another path to examine when the time comes is postgres inside of wasm, through a project like this: https://github.com/electric-sql/pglite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants