Changes the name, catalog file path, role, or status of the given server.
Syntax 1:
ALTER MULTIPLEX SERVER server-name server-option
Syntax 2:
ALTER MULTIPLEX SERVER server-name PRIVATE NULL
{ RENAME new-server-name | DATABASE 'dbfile' | ROLE { WRITER | READER | COORDINATOR } | STATUS { INCLUDED | EXCLUDED } | ASSIGN AS FAILOVER SERVER | host-port-list }
{ HOST ' hostname ' PORT port number ...} { PRIVATE HOST ' hostname ' PORT port number ...}
ALTER MULTIPLEX SERVER mpx_writer1 STATUS EXCLUDED
Changes the multiplex server, as follows:
The coordinator must be running, but you can run the ALTER MULTIPLEX SERVER command from any server in the multiplex. (Run all DDL statements on the coordinator.) In all cases except when altering role from reader to writer, the named server is automatically shut down.
Requires the MANAGE MULTIPLEX system privilege.