root/trunk/lib/runscripts/extract.run @ 13592
1 |
#!/bin/bash -e
|
---|---|
2 |
. "$(dirname "${BASH_SOURCE[0]}")"/import.run "$@" |
3 |
.rel ../sh/local.sh |
4 |
|
5 |
if self_not_included; then |
6 |
|
7 |
export extract_view="${top_filename%.csv}" |
8 |
|
9 |
export_()
|
10 |
{
|
11 |
begin_target; deferred_check_target_exists
|
12 |
table="$extract_view" to_top_file pg_export |
13 |
}
|
14 |
|
15 |
export_sample() { begin_target; n=100 with_rm export_; } |
16 |
|
17 |
fi
|