mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 01:12:56 +00:00
removing cargo.toml from patch
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user