zalando / spilo

Highly available elephant herd: HA PostgreSQL cluster using Docker
Apache License 2.0
1.53k stars 382 forks source link

Add pgvector extension #896

Closed drivebyer closed 1 year ago

drivebyer commented 1 year ago

support https://github.com/zalando/spilo/issues/894

The build image here: https://github.com/drivebyer/spilo/pkgs/container/spilo-15 with tag v0.0.2

hughcapet commented 1 year ago

Why have you decided to only include it for PG15+?

hughcapet commented 1 year ago

Btw, it actually is available in the postgresql apt repo. We prefer to install extensions from there when it is possible

drivebyer commented 1 year ago

Why have you decided to only include it for PG15+?

I saw the spilo it built only for PGVERSION 15 now(https://github.com/zalando/spilo/pkgs/container/spilo-15). Do we need build for early PG version?

hughcapet commented 1 year ago

this image includes PG version 15 + the old versions (DEB_PG_SUPPORTED_VERSIONS)

extensions are provided for as many as possible PG versions from this list

drivebyer commented 1 year ago

this image includes PG version 15 + the old versions (DEB_PG_SUPPORTED_VERSIONS)

extensions are provided for as much as possible PG versions from this list

Ohh I see.

I fixed the pr PTAL @hughcapet

The built image in https://github.com/drivebyer/spilo/pkgs/container/spilo-15 with tag v0.0.2

hughcapet commented 1 year ago

lgtm, we will merge it early next week

sdudoladov commented 1 year ago

:+1:

hughcapet commented 1 year ago

👍

hughcapet commented 1 year ago

Merged. Thank you, @drivebyer

NicolaiSchmid commented 1 year ago

When will this be released as a docker image?

drivebyer commented 3 months ago

pg_vector available since ghcr.io/zalando/spilo-15:3.1-p1