0001-feeder-set-synchronous_commit-to-off-during-feed-560.patch
wcs_olap/feeder.py | ||
---|---|---|
605 | 605 |
def feed(self): |
606 | 606 |
try: |
607 | 607 |
if self.do_feed: |
608 |
self.ex('SET synchronous_commit = off') |
|
608 | 609 |
self.do_schema() |
609 | 610 |
self.do_dates_table() |
610 | 611 |
self.do_base_table() |
... | ... | |
621 | 622 |
raise |
622 | 623 |
else: |
623 | 624 |
if self.do_feed: |
625 |
self.ex('SET synchronous_commit = on') |
|
624 | 626 |
if not self.fake: |
625 | 627 |
self.logger.debug('dropping schema %s', self.schema) |
626 | 628 |
self.drop_tables_sequencially(self.schema) |
627 |
- |