set-group-options v5.6
Sets group options such as enable_raft
, enable_proxy_routing
, and location
.
Synopsis
You can set the following group options with this command:
enable_raft
enable_proxy_routing
location
route_writer_max_lag
route_reader_max_lag
Both enable_raft
and enable_proxy_routing
must be true if proxy is
attached to the group.
Use pgd show-groups -o json
to view option values for each group.
Options
Flag | Description |
---|---|
--group-name | group name |
--option | option in name=value format |
See global options for global options.
Examples
Setting group options with multiple options
In this example, we use comma separated multiple options. Spaces are not allowed in the option values.
Setting group options with multiple option flags
In this example, we use multiple option flags. Spaces are not allowed in the option values.
Setting group options with double quotes
In this example, we use double quotes around options if the option value has spaces or special characters.