Revision 8696
Added by Aaron Marcuse-Kubitza almost 12 years ago
lib/table.run | ||
---|---|---|
25 | 25 |
bin_dir="$root_dir"/bin |
26 | 26 |
|
27 | 27 |
: "${schema="$(cd "$top_dir"/..; basename "$PWD")"}" |
28 |
mk_esc_name schema |
|
28 | 29 |
: "${table="$( cd "$top_dir" ; basename "$PWD")"}" |
30 |
mk_esc_name table |
|
29 | 31 |
export schema table |
30 | 32 |
|
31 | 33 |
psql () # usage: ([file=...] [dir=...]; self) |
Also available in: Unified diff
lib/table.run: run mk_esc_name for $schema, $table