Configuring pg_anonymizer

  1. In postgresql.conf, add anon to the shared_preload_libraries parameter:

    shared_preload_libraries = '$libdir/anon'

    If shared_preload_libraries has other extensions, then you can add anon to the list. The order doesn't matter.

  1. Restart Postgres.
  1. 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!