Project

General

Profile

« Previous | Next » 

Revision 8797

added /run, whose export_ command exports DB tables (currently the geoscrub_input table) to CSV. column information is included in the filename when the export format is specified not to contain a header row.

View differences:

run
1
#!/bin/bash -e
2
. "$(dirname "${BASH_SOURCE[0]}")"/lib/runscripts/import.run
3
. "$(dirname "${BASH_SOURCE[0]}")"/lib/runscripts/local.run
4

  
5
if self_not_included; then
6

  
7
schema=public
8
exports_dir="$top_dir"/exports
9

  
10
export_ ()
11
{
12
	echo_func "$@"
13
	pg_export_table_to_dir_no_header geoscrub_input
14
}
15

  
16
fi
0 17

  

Also available in: Unified diff