Is there a way to build EdgeDB without the bundled Postgres? #6449
-
If I am running EdgeDB in a Docker container, but using an external Postgres database, it seems like it would be beneficial to not also include the bundled Postgres in the Docker image. Is there a way to build EdgeDB without it? Or does EdgeDB still rely on the bundled Postgres code even when using an external Postgres database? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I think this is unnecessarily true. On the source code level, |
Beta Was this translation helpful? Give feedback.
-
I the image size the concern here? |
Beta Was this translation helpful? Give feedback.
I think this is unnecessarily true.
On the source code level,
get_default_runtime_params()
callsbuildmeta.get_pg_version()
, which runspg_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.