root/lib/runscripts/file.pg.sql.run @ 11746
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 | 11624 | aaronmk | create_schema= to_top_file pg_dump_local --exclude-table='*.*\y"Source"\y*' |
13 | 10780 | aaronmk | }
|
14 | |||
15 | fi
|