Project

General

Profile

« Previous | Next » 

Revision 6477

export_analytical_db: Export NULL as \N to work with MySQL

View differences:

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