Revision 6492
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 NULL '\N';
|
|
9 |
COPY analytical_aggregate TO STDOUT CSV HEADER NULL 'NULL';
|
|
10 | 10 |
EOF |
Also available in: Unified diff
export_analytical_db: Use 'NULL' as the NULL value instead of \N, because MySQL has problems with \N