root/trunk/lib/runscripts/file.pg.sql.run @ 12407
1 | 10780 | aaronmk | #!/bin/bash -e
|
---|---|---|---|
2 | . "$(dirname "${BASH_SOURCE[0]}")"/import.run |
||
3 | .rel in_datasrc_dir.run |
||
4 | |||
5 | # syncs a SQL script with the DB
|
||
6 | |||
7 | if self_not_included; then |
||
8 | |||
9 | export_() # usage: rm=1 .../file.run export_ |
||
10 | {
|
||
11 | echo_func; set_make_vars; deferred_check_target_exists |
||
12 | 12189 | aaronmk | create_schema= to_top_file pg_dump_local \ |
13 | --exclude-table='*.*\y"Source"\y*' "$@" |
||
14 | 10780 | aaronmk | }
|
15 | |||
16 | fi
|