diff --git a/compute/compute-node.Dockerfile b/compute/compute-node.Dockerfile index 57006be73f..180cb7b6b6 100644 --- a/compute/compute-node.Dockerfile +++ b/compute/compute-node.Dockerfile @@ -1356,6 +1356,7 @@ RUN wget https://gitlab.com/dalibo/postgresql_anonymizer/-/archive/2.1.0/postgre mkdir pg_anon-src && cd pg_anon-src && tar xzf ../pg_anon.tar.gz --strip-components=1 -C . && \ find /usr/local/pgsql -type f | sed 's|^/usr/local/pgsql/||' > /before.txt && \ sed -i 's/pgrx = "0.14.1"/pgrx = { git = "https:\/\/github.com\/thesuhas\/pgrx.git", branch = "expose_guc_assign_hook", features = [ "unsafe-postgres" ] }/g' Cargo.toml && \ + sed -i 's/pgrx-tests = "0.14.1"/pgrx-tests = { git = "https:\/\/github.com\/thesuhas\/pgrx.git", branch = "expose_guc_assign_hook" }/g' Cargo.toml && \ patch -p1 < /ext-src/anon_v2.patch FROM rust-extensions-build-pgrx14 AS pg-anon-pg-build diff --git a/compute/patches/anon_v2.patch b/compute/patches/anon_v2.patch index e2b46855df..67473398ab 100644 --- a/compute/patches/anon_v2.patch +++ b/compute/patches/anon_v2.patch @@ -1,22 +1,3 @@ -diff --git a/Cargo.toml b/Cargo.toml -index 1037705..9f2ffee 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -24,12 +24,12 @@ fake = { version = "4.3.0", features = ["bigdecimal", "chrono", "http", "rust_de - image = "0.25.5" - md-5 = "0.10.6" - paste = "1.0" --pgrx = "0.14.1" -+pgrx = { git = "https://github.com/thesuhas/pgrx.git", branch = "expose_guc_assign_hook" } - rand = "0.8.5" - regex = "1.10.2" - - [dev-dependencies] --pgrx-tests = "0.14.1" -+pgrx-tests = { git = "https://github.com/thesuhas/pgrx.git", branch = "expose_guc_assign_hook" } - - [profile.dev] - panic = "unwind" diff --git a/sql/anon.sql b/sql/anon.sql index 0cdc769..f6cc950 100644 --- a/sql/anon.sql