Skip to content

Commit

Permalink
pgai version 0.4.0 (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgpruitt authored Oct 24, 2024
1 parent 655844f commit eb5573b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -197,17 +197,13 @@ RUN set -ex; \
ARG PGAI_VERSION
RUN set -ex; \
if [ "${PG_MAJOR}" -gt 15 ] && [ -n "${PGAI_VERSION}" ]; then \
git clone https://github.com/timescale/pgai.git /build/pgai; \
git clone --branch "${PGAI_VERSION}" https://github.com/timescale/pgai.git /build/pgai; \
cd /build/pgai; \
git checkout "${PGAI_VERSION}"; \
git reset HEAD --hard; \
for pg in ${PG_VERSIONS}; do \
if [ "$pg" -gt 15 ]; then \
cp /build/pgai/ai--*.sql "$(/usr/lib/postgresql/${pg}/bin/pg_config --sharedir)/extension/"; \
cp /build/pgai/ai.control "$(/usr/lib/postgresql/${pg}/bin/pg_config --sharedir)/extension/"; \
PG_MAJOR=${pg} make install; \
fi; \
done; \
pip install -r /build/pgai/requirements.txt; \
fi

# Add a couple 3rd party extension managers to make extension additions easier
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PG_MAJOR?=16
PG_VERSIONS?=

# Additional PostgreSQL extensions we want to include with specific version/commit tags
PGAI_VERSION?=v0.3.0
PGAI_VERSION?=extension-0.4.0
PGVECTORSCALE_VERSIONS?=all
POSTGIS_VERSIONS?=3
PG_AUTH_MON?=v2.0
Expand Down

0 comments on commit eb5573b

Please sign in to comment.