docker-postgis/sample/replication/tests/replication_test_slave.sh

15 wiersze
199 B
Bash
Czysty Zwykły widok Historia

#!/bin/sh
. /env-data.sh
set -e
echo "Check slave replication"
# Check table exists in slave
echo "Check table exists"
psql -d ${POSTGRES_DBNAME} -c "\dt" | grep test_replication_table
exit $?