set-node-options v5.6
Sets node options such as route_fence
, route_priority
, and route_writes
.
Synopsis
You can set the following node options with this command:
route_dsn
route_fence
route_priority
route_writes
route_reads
Use pgd show-nodes -o json
to view option values for each node.
Options
Flag | Description |
---|---|
--node-name | node name |
--option | option in name=value format |
See global options for global options.
Examples
Setting node options with multiple options
In this example, we use comma separated multiple options. Spaces are not allowed in the option values.
Setting node options with multiple option flags
In this example, we use multiple option flags. Spaces are not allowed in the option values.
Setting node options with double quotes
In this example, we use double quotes around options if the option value has spaces or special characters.