ALTER NODE
Function
ALTER NODE modifies the definition of an existing node.
Precautions
ALTER NODE is the internal interface of cluster management tool. You are not advised to use this interface, because doing so affects the cluster.
Syntax
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ALTER NODE nodename WITH
(
[ TYPE = nodetype,]
[ HOST = hostname,]
[ PORT = portnum,]
[ HOST1 = 'hostname',]
[ PORT1 = portnum,]
[ HOSTPRIMARY [ = boolean ],]
[ PRIMARY [ = boolean ],]
[ PREFERRED [ = boolean ],]
[ SCTP_PORT = portnum,]
[ CONTROL_PORT = portnum,]
[ SCTP_PORT1 = portnum,]
[ CONTROL_PORT1 = portnum, ]
[ NODEIS_CENTRAL [ = boolean ]]
);
|
The port whose number is specified by PORT is used for internal communications between nodes. Unlike the port number which connect node by external client, it can be queried in the pgxc_node table.
Parameter Description
See Parameter description in CREATE NODE.
Helpful Links
Last Article: ALTER LARGE OBJECT
Next Article: ALTER NODE GROUP
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.