rs_commit

Commits a transaction in a data server.

Examples

Usage

  • The rs_commit function has function-string-class scope.

  • Replication Server creates an initial rs_commit function string for the system-provided function-string classes during installation.

  • If you use a user-created base function-string class, you must create an rs_commit function string.

  • Create or customize an rs_commit function string at the Replication Server that is the primary site for the class.

  • Update the rs_lastcommit system table in the rs_commit function string. Updating this table within the transaction maintains data integrity.

Warning!  If the rs_lastcommit system table is not updated properly for each transaction committed, after a restart Replication Server may apply transactions more than once or skip transactions.
Related reference
alter function string
create function string
rs_begin
rs_get_lastcommit
rs_rollback