1. A method for replication of a procedure that executes one or more transactions at a standby database, comprising: when the procedure executes at the primary database, writing one or more entry markers into a redo log, the one or more entry markers comprising: procedure information, argument data for the procedure if any, and a corresponding transaction identifier; writing a plurality of redo records into the redo log, at least one of the redo records comprising a copy of a change to the primary database and a corresponding transaction identifier; and when the procedure is done executing, writing an exit marker into the redo log, the exit marker comprising an exit status for the procedure, wherein the procedure executed at the primary database is applied at the standby database.