Container platform
No response
Version
All
OS version of the container image
CentOS Stream 9
Bugzilla, Jira
No response
Description
The current postgresql container images do not contain pg_vector extension by default, which forces developers to build their own image like this:
FROM quay.io/sclorg/postgresql-16-c10s
USER 0
RUN dnf install -y pgvector && dnf clean all
USER 26
 
Reproducer
Run container image with POSTGRESQL_EXTENSIONS env var set to "vector". If pg_vector is in the image then it works.