Grants the user, created by the ensureUser attr, replication permissions. From the postgres docs:
A role must explicitly be given permission to initiate streaming replication (except for superusers, since those bypass all permission checks). A role used for streaming replication must have LOGIN permission as well. To create such a role, use CREATE ROLE name REPLICATION LOGIN.
More information on postgres roles can be found here.
Declarations
Type
null or boolean
Default
{
_type = "literalMD";
text = "`null`: do not set. For newly created roles, use PostgreSQL's default. For existing roles, do not touch this clause.\n";
}