Revision 7531
Added by Aaron Marcuse-Kubitza almost 12 years ago
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
my2pg_export: Use the --quick option to facilitate exporting large tables (it avoids retrieving all rows before outputting any of them)