Skip to content

Is there a way to build EdgeDB without the bundled Postgres? #6449

Answered by fantix
elliotwaite asked this question in Q&A
Discussion options

You must be logged in to vote

Or does EdgeDB still rely on the bundled Postgres code even when using an external Postgres database?

I think this is unnecessarily true.

On the source code level, get_default_runtime_params() calls buildmeta.get_pg_version(), which runs pg_config command for the version. It's probably fine to hardcode Postgres version there, because we shouldn't rely on bundled Postgres version, it's nothing but a placeholder as in default runtime params. The real runtime params will fetch the version of the actual Postgres in use.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@fantix
Comment options

@elliotwaite
Comment options

Answer selected by elliotwaite
Comment options

You must be logged in to vote
1 reply
@elliotwaite
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants