Revision 3339
Added by Aaron Marcuse-Kubitza over 12 years ago
bin/map | ||
---|---|---|
94 | 94 |
out_is_db = 'engine' in out_db_config |
95 | 95 |
in_schema = opts.get_env_var('in_schema', None, env_names) |
96 | 96 |
in_table = opts.get_env_var('in_table', None, env_names) |
97 |
if in_schema != None: |
|
98 |
for config in [in_db_config, out_db_config]: |
|
99 |
config['schemas'] += ','+in_schema |
|
97 | 100 |
|
98 | 101 |
# Optimization |
99 | 102 |
cache_sql = opts.env_flag('cache_sql', True, env_names) |
Also available in: Unified diff
bin/map: Fixed bug where errors table indexes could not be looked up using index_cols() because their schema was not in the search_path, by explicitly adding the in_schema at the end of the search_path. This is the only reason the in_schema needs to be in the search_path, but it's unavoidable because the "duplicate key value violates unique constraint" error does not included the constraint's schema.