Skip to content

Commit 6fb8b16

Browse files
committed
Enable unsafe-postgres feature on pgrx
1 parent ed120f2 commit 6fb8b16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compute/compute-node.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,8 @@ ARG PG_VERSION
15101510
WORKDIR /ext-src
15111511
RUN git clone --depth 1 --branch poc https://github.com/Mooncake-Labs/pg_mooncake.git pg_mooncake-src && \
15121512
cd pg_mooncake-src && \
1513-
git submodule update --init --recursive
1513+
git submodule update --init --recursive && \
1514+
sed -i 's/pgrx = "0.16.0"/pgrx = { version = "0.16.0", features = [ "unsafe-postgres" ] }/g' Cargo.toml
15141515

15151516
FROM rust-extensions-build-pgrx16 AS pg_mooncake-build
15161517
COPY --from=pg_mooncake-src /ext-src/ /ext-src/

0 commit comments

Comments
 (0)