ITTIA DB SQL C API  5.4.0
db_rep_peerdef_t Struct Reference

#include <ittia/db.h>

Data Fields

int32_t rep_type
db_rep_address_t peer_address
db_fname_t peer_uri [DB_MAX_PEER_URI+1]

Detailed Description

Replication peer definition.


Field Documentation

Type of replication to use for this peer.

One of:

Replication of address configured in peer.

This is compared with the replication address stored in the peer database to confirm the peer's identity. It can also be set in a table's peer_column to control which rows are exchanged with which peers.

db_fname_t db_rep_peerdef_t::peer_uri[DB_MAX_PEER_URI+1]

Location of the peer database in the same URI format used to open and create database files.

See also:
db_open_database_file