Project

General

Profile

« Previous | Next » 

Revision 2604

csv2db: Increased frequency of "Processed .. row(s)" messages to match slower, more common INSERT case instead of faster, less used COPY FROM case

View differences:

bin/csv2db
89 89
        
90 90
        # Load the data
91 91
        line_in = streams.ProgressInputStream(in_, sys.stderr,
92
            'Processed %d row(s)', n=10000)
92
            'Processed %d row(s)', n=1000)
93 93
        try:
94 94
            if use_copy_from[0]:
95 95
                sys.stderr.write('Using COPY FROM\n')

Also available in: Unified diff