Revision 6470
Added by Aaron Marcuse-Kubitza about 12 years ago
export_analytical_db | ||
---|---|---|
3 | 3 |
|
4 | 4 |
selfDir="$(dirname -- "$0")" |
5 | 5 |
|
6 |
out="$selfDir/../backups/analytical_aggregate.csv" |
|
6 |
out="$selfDir/../backups/analytical_aggregate.${public=public}.csv"
|
|
7 | 7 |
|
8 | 8 |
"$selfDir/psql_script_vegbien" >"$out" <<EOF |
9 | 9 |
COPY analytical_aggregate TO STDOUT CSV HEADER; |
Also available in: Unified diff
export_analytical_db: Append the public schema version to the CSV filename