Revision 7094
Added by Aaron Marcuse-Kubitza almost 12 years ago
vegbien_dest | ||
---|---|---|
23 | 23 |
|
24 | 24 |
# Schema override for referring to a table in the $public schema |
25 | 25 |
local schemaVar=${prefix}schema tableVar=${prefix}table |
26 |
if test -n "${!schemaVar+t}" -a -n "${!tableVar+t}"; then
|
|
26 |
if test -n "${!schemaVar}" -a -n "${!tableVar}"; then
|
|
27 | 27 |
local tableTable="${!tableVar#public.}" |
28 | 28 |
if test "$tableTable" != "${!tableVar}"; then # had prefix |
29 | 29 |
export $tableVar="$tableTable" $schemaVar="$public" |
Also available in: Unified diff
vegbien_dest: Schema override for referring to a table in the $public schema: Only process the override when $!schemaVar and $!tableVar are non-*empty*, to allow setting $schema=""