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