Project

General

Profile

« Previous | Next » 

Revision 2062

Calls to sql.esc_name*(): Removed preserve_case=True because it is now the default

View differences:

csv2db
56 56
            if col == '': cols[i] = 'column_'+str(i)
57 57
        
58 58
        # Select schema and escape names
59
        def esc_name(name): return sql.esc_name(db, name, preserve_case=True)
59
        def esc_name(name): return sql.esc_name(db, name)
60 60
        sql.run_query(db, 'SET search_path TO '+esc_name(schema))
61 61
        esc_table = esc_name(table)
62 62
        esc_cols = map(esc_name, cols)

Also available in: Unified diff