Revision 5573
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/sql_io.py | ||
---|---|---|
233 | 233 |
def log(msg, level=1): db.log_debug(msg, level) |
234 | 234 |
|
235 | 235 |
dialect = stream_info.dialect |
236 |
if csvs.is_tsv(dialect): use_copy_from = False |
|
237 | 236 |
if use_copy_from: |
238 | 237 |
log('Using COPY FROM') |
239 | 238 |
|
Also available in: Unified diff
sql_io.py: append_csv(): Don't disable COPY FROM for TSVs, which are now supported using csvs.InputRewriter