Configuring pg_anonymizer
In
postgresql.conf
, addanon
to theshared_preload_libraries
parameter:shared_preload_libraries = '$libdir/anon'
If
shared_preload_libraries
has other extensions, then you can addanon
to the list. The order doesn't matter.
- Restart Postgres.
Create the pg_anonymizer extension in the database:
CREATE EXTENSION anon;
After enabling the extension, you can perform additional configuration. See the pg_anonymizer official documentation.
Could this page be better? Report a problem or suggest an addition!