Oracle Error ORA-16305: procedure not supported on a logical standby

Oracle Error Message

ORA-16305: procedure not supported on a logical standby

Reason for the Error

A call was made to DBMS_LOGSTDBY.EDS_EVOLVE_TABLE on a logical standby database which can only be called on a primary database

Solution

Call DBMS_LOGSTDBY.EDS_EVOLVE_TABLE on the primary database