Code/PGPerfStatsSnapper/pg_perf_stat_snapper.py [253:262]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                            cur.execute("SET client_min_messages TO WARNING")
                            cur.execute("savepoint sp")
                            cur.copy_to(f,query_str,'csv')
                            f.close()
                    except Exception as e:
                        logger.error('  Error While running query: ' + query_str)
                        logger.error('  Exception: ' + str(e))
                        f.close()
                        cur.execute("rollback to savepoint sp")
                        continue
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



Code/PGPerfStatsSnapper/pg_perf_stat_snapper.py [311:320]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                            cur.execute("SET client_min_messages TO WARNING")
                            cur.execute("savepoint sp")
                            cur.copy_to(f,query_str,'csv')
                            f.close()
                    except Exception as e:
                        logger.error('  Error While running query: ' + query_str)
                        logger.error('  Exception: ' + str(e))
                        f.close()
                        cur.execute("rollback to savepoint sp")
                        continue
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



