root/trunk/lib/runscripts/file.pg.sql.run @ 14222
1 |
#!/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 |
begin_target; deferred_check_target_exists
|
11 |
create_schema= to_top_file pg_dump_local \ |
12 |
--exclude-table='*.*\y"Source"\y*' "$@" |
13 |
}
|
14 |
|
15 |
fi
|