Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
VaibhaveS committed Aug 5, 2024
1 parent d935200 commit c562f31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/include/copy-db.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
--resume Allow resuming operations after a failure
--not-consistent Allow taking a new snapshot on the source database
--snapshot Use snapshot obtained with pg_export_snapshot
--use-copy-binary Use the COPY BINARY format for COPY operations
3 changes: 2 additions & 1 deletion src/bin/pgcopydb/cli_copy.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ static CommandLine copy_db_command =
" --restart Allow restarting when temp files exist already\n"
" --resume Allow resuming operations after a failure\n"
" --not-consistent Allow taking a new snapshot on the source database\n"
" --snapshot Use snapshot obtained with pg_export_snapshot\n",
" --snapshot Use snapshot obtained with pg_export_snapshot\n"
" --use-copy-binary Use the COPY BINARY format for COPY operations\n",
cli_copy_db_getopts,
cli_clone);

Expand Down
2 changes: 1 addition & 1 deletion tests/endpos-in-multi-wal-txn/copydb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ sleep 1
pgcopydb stream setup

# pgcopydb clone uses the environment variables
pgcopydb clone --use-binary-copy
pgcopydb clone --use-copy-binary

# now that the copying is done, inject some SQL DML changes to the source
psql -d ${PGCOPYDB_SOURCE_PGURI} -f /usr/src/pgcopydb/multi-wal-txn.sql
Expand Down

0 comments on commit c562f31

Please sign in to comment.