Project

General

Profile

« Previous | Next » 

Revision 7531

my2pg_export: Use the --quick option to facilitate exporting large tables (it avoids retrieving all rows before outputting any of them)

View differences:

my2pg_export
4 4

  
5 5
set -x
6 6
${server:+ssh "$server" }mysqldump --compatible=postgresql --add-locks=false \
7
--set-charset --lock-tables=false --password\
7
--set-charset --lock-tables=false --quick --password\
8 8
${schema:+ --no-data}${data:+ --no-create-info} "$@"

Also available in: Unified diff