Project

General

Profile

« Previous | Next » 

Revision 3142

db_xml.py: put_table(): Subsetting in_table: Truncate in_table when finished with it, to avoid temp table disk space leaks

View differences:

lib/db_xml.py
175 175
                # full_in_table will be shadowed (hidden) by created temp table
176 176
            sql.add_pkey(db, in_table)
177 177
            
178
            # Recurse
178 179
            pkeys_loc = put_table_(node, in_row_ct_ref)
179 180
            
181
            sql.empty_temp(db, in_table)
182
            
180 183
            # Work around PostgreSQL's temp table disk space leak
181 184
            db.reconnect()
182 185
        

Also available in: Unified diff