Revision 8946
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/import.sh | ||
---|---|---|
52 | 52 |
|
53 | 53 |
mk_derived () { "$root_dir"/schemas/VegCore/mk_derived; } |
54 | 54 |
|
55 |
public_schema_exists () |
|
56 |
{ "$bin_dir"/psql_script_vegbien </dev/null 2>/dev/null; } |
|
57 |
|
|
55 | 58 |
remake_VegBIEN_mappings () |
56 | 59 |
{ |
57 | 60 |
rm header.csv map.csv # remake them |
Also available in: Unified diff
lib/import.sh: added public_schema_exists (), which just calls psql_script_vegbien (i.e. with the default search_path temp, public, etc.) and sees if returns an error