Technical requirements
In the Learn PostgreSQL GitHub repository, you can find three Docker images:
chapter17_streaming
: Primary/replica asynchronous replication; if you want to use the replica container after starting the container with:chapter_17$ bash run-pg-docker.sh chapter17_streaming
you have to run:
chapter_17$ bash run-pg-docker_replica.sh chapter17_streaming
- chapter17_synchronous: Primary/replica synchronous replication; if you want to use the replica container after starting the container with:
chapter_17$ bash run-pg-docker.sh chapter17_synchronous
you have to run:
chapter_17$ bash run-pg-docker_replica.sh chapter17_synchronous
- chapter17_delayed: Primary/replica with delayed replication; if you want to use the replica container after starting the container with:
chapter_17$ bash run-pg-docker.sh chapter17_delayed
you have to run:
chapter_17...