Replication from Postgres
Configuring the Postgres primary server
% echo "wal_level = logical" >> /var/lib/postgresql/data/postgresql.conf% export DBNAME=postgres
% export TABLE=t1
% export SLOTNAME=doltgres_slot
% psql "dbname=$DBNAME replication=database" -c "CREATE PUBLICATION $SLOTNAME FOR TABLE $TABLE;"
% psql "dbname=$DBNAME replication=database" -c "CREATE_REPLICATION_SLOT $SLOTNAME LOGICAL pgoutput;"CREATE PUBLICATION $SLOTNAME FOR ALL TABLES;CREATE PUBLICATION $SLOTNAME FOR TABLE t1,t2,t3;Configuring the Doltgres replica
Importing initial data into DoltgreSQL
Last updated
