Revision 12189
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/runscripts/file.pg.sql.run | ||
---|---|---|
9 | 9 |
export_() # usage: rm=1 .../file.run export_ |
10 | 10 |
{ |
11 | 11 |
echo_func; set_make_vars; deferred_check_target_exists |
12 |
create_schema= to_top_file pg_dump_local --exclude-table='*.*\y"Source"\y*' |
|
12 |
create_schema= to_top_file pg_dump_local \ |
|
13 |
--exclude-table='*.*\y"Source"\y*' "$@" |
|
13 | 14 |
} |
14 | 15 |
|
15 | 16 |
fi |
trunk/lib/runscripts/schema.pg.sql.run | ||
---|---|---|
7 | 7 |
|
8 | 8 |
func_override export___file.pg.sql.run |
9 | 9 |
export_() # usage: rm=1 .../file.run export_ |
10 |
{ echo_func; struct=1 export___file.pg.sql.run; } |
|
10 |
{ echo_func; struct=1 export___file.pg.sql.run "$@"; }
|
|
11 | 11 |
|
12 | 12 |
fi |
Also available in: Unified diff
lib/runscripts/file.pg.sql.run, schema.pg.sql.run: support custom options to pg_dump in $@