Maybe add a second parameter and integrate the hint in the error message:
PgAnonError::FeatureNotEnabled("Static Masking".into(), "anon.static_masking".into())
{} is not enabled, check the {} parameter
Closed by fab3cd39
closed by b2316e41
damien clochard (c1703b0d) at 06 Mar 11:22
[CI] upgrade dalibo/buildpack-rust-postgres:rockylinux8 to get PGRX...
closed by b2316e41
Closes #62
damien clochard (316deb51) at 05 Mar 21:41
fixup
Hi @adoma25 !
Just a quick message to let you know that we have upgraded the latest branch from PGRX 0.16 to PGRX 0.17, once you have rebased your branch as described above, you will have to upgrade your local development environment too:
cargo install cargo-pgrx --version 0.17.0 --locked
cargo pgrx upgrade
After that you should be able to build the extension again.
I think we can merge this now and make another MR when the pg_sys::CIRCLE is available
anon.random_point_in_box(rect box) -> Point
Adds a function to generate a random Point in a Box.
anon.random_gps_coordinates()
generates random gps coordinates
anon.noisy_gps_coordinates(
origin point,
radius double precision DEFAULT 10.0,
is_metric boolean DEFAULT true
)
Adds noise to gps coordinates, it creates a new point located in a radius around the origin point. The radius can be expressed in kilometers (default) or miles.
closes #556
As discussed this is ok to merge