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