DROP NODE — Decommission Slony-I node
DROP NODE (options);
Drop a node. This command removes the specified node entirely from the replication systems configuration. If the replication daemon is still running on that node (and processing events), it will attempt to uninstall the replication system and terminate itself.
ID = ival
Node ID of the node to remove.
EVENT NODE = ival
Node ID of the node to generate the event.
This uses schemadocdropnode( integer ).
When you invoke DROP NODE
, one of the
steps is to run UNINSTALL NODE
.
If you are using connections that cache query plans
(this is particularly common for Java application frameworks with
connection pools), the connections may cache query plans that
include the pre-DROP NODE
state of things, and
you will get error messages indicating missing OIDs.
After dropping a node, you may also need to recycle connections in your application.