Revision 6477
Added by Aaron Marcuse-Kubitza about 12 years ago
export_analytical_db | ||
---|---|---|
6 | 6 |
out="$selfDir/../backups/analytical_aggregate.${public=public}.csv" |
7 | 7 |
|
8 | 8 |
"$selfDir/psql_script_vegbien" >"$out" <<EOF |
9 |
COPY analytical_aggregate TO STDOUT CSV HEADER; |
|
9 |
COPY analytical_aggregate TO STDOUT CSV HEADER NULL '\N';
|
|
10 | 10 |
EOF |
Also available in: Unified diff
export_analytical_db: Export NULL as \N to work with MySQL