ALTER NETWORK INTERFACE

This statement has been deprecated. Instead, use ALTER NETWORK ADDRESS.

Renames a network interface.

Syntax

ALTER NETWORK INTERFACE network-interface-name RENAME TO new-network-interface-name

Parameters

network-interface-name

The name of the existing network interface.

new-network-interface-name

The new name for the network interface.

Privileges

Superuser

Examples

Rename a network interface:

=> ALTER NETWORK INTERFACE myNetwork RENAME TO myNewNetwork;