TCapture Installation

Install PostgreSQL

Since TCapture is a software for implementing data replication of Postgresql databases, begin by installing PostgreSQL.


TCapture currently supports PostgreSQL versions 10.1, 10.2, 10.3, 10.4, 10.5, and 11.0 on 64-bit architectures.

Install TCapture

Once you have PostgreSQL installed on your system, you just need to install the TCapture software and then execute the configuration scripts within your PostgreSQL database. You can download tarball package from our release archives and install them directly.

        Download zip from
        cd /var/lib/pgsql/scripts/mycode/

        git clone

as root:
cd tcrepsrv-dev  directory
 execute under TCapture software folder
./  #cover the following steps:

- set variable RDBBDR HOME in
- soruce environment file
- installing TCapture logical decoding library under /usr/pgsql-10/lib

1- echo "export RDBBDR=/var/lib/pgsql/scripts/mycode/rdbbdr" >
3-echo $RDBBDR
5-cd $RDBBDR
6-cp ./rdbbdr/lib/rdb_decoder/ /usr/pgsql-10/lib/

Configuring a primary database node

check out the Adding a Primary node in TCapture section. !

PostgreSQL hba Configuration

By default, PostgreSQL is not configured to allow incoming connections from remote hosts. To enable incoming connections, first set the following line in postgresql.conf:

listen_addresses = '*'

And in pg_hba.conf, add a line such as the following to allow incoming connections:

host    all             all             <ip address>/<subnet>            md5

For example, to allow incoming connections from any host:

host    all             all               md5

Running PostgreSQL

To run the PostgreSQL server in the background, use the pg_ctl driver and point it to your newly initialized data directory:

pg_ctl -D <data directory> -l postgresql.log start

Now you’re ready to start using TCapture check out the Adding a Primary node in TCapture section. !

Table Of Contents

Previous topic

TCapture Prerequisites

Next topic

TCapture Configuration

This Page