This is a document for PGroonga 2.X and 3.X. See PGroonga 1.x document when you're using old PGroonga.
pgroonga_wal_resource_manager
moduleSince 3.2.1.
Available in PostgreSQL 15 or higher.
The pgroonga_wal_resource_manager
module automatically applies PGroonga's WAL using the PostgreSQL Custom WAL Resource Managers.
If you enable WAL Resource Manager support, use PostgreSQL's Custom WAL Resource Managers feature. See Streaming replication by WAL resource manager for details.
You must configure on the primary and standby the following parameters to use pgroonga_wal_resource_manager
module:
For example:
shared_preload_libraries = 'pgroonga_wal_resource_manager'
In primary, the pgroonga.enable_wal_resource_manager
parameter must also be set.
For example:
pgroonga.enable_wal_resource_manager = yes
Do not set pgroonga.enable_wal = yes
together
If you enable this module, do not enable crash-safer in standby
In standby, this module recovers
Primary does not recover, so if you want to make it crash-safe, you must enable crash-safer