Sha256: 5042775c03750aa1437a42ab38523484b6c3aae5cf6f9b99dba8fa50f3b5e877

Contents?: true

Size: 555 Bytes

Versions: 1

Compression:

Stored size: 555 Bytes

Contents

#!/bin/bash

set -eo pipefail

if [[ -z ${GITHUB_WORKFLOW} ]]; then
  export SECONDARY_SOURCE_DB_URL="postgres://jamesbond:jamesbond123%407%21%273aaR@source_db/postgres"
fi

export SOURCE_DB_URL="postgres://jamesbond:jamesbond123%407%21%273aaR@localhost:5432/postgres"
export TARGET_DB_URL="postgres://jamesbond:jamesbond123%407%21%273aaR@localhost:5433/postgres"
export PGPASSWORD='jamesbond123@7!'"'"'3aaR'

pgbench --initialize -s 5 --foreign-keys --host localhost -U jamesbond -d postgres

bundle exec bin/pg_easy_replicate config_check --copy-schema

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pg_easy_replicate-0.1.8 scripts/e2e-bootstrap.sh