Exemplo n.º 1
0
 def copy_event(self, dst_curs, ev, filtered_copy):
     # send only data events down (skipping seqs also)
     if filtered_copy:
         if ev.type[:9] in ('londiste.', 'EXECUTE', 'TRUNCATE'):
             return
     CascadedWorker.copy_event(self, dst_curs, ev, filtered_copy)
Exemplo n.º 2
0
 def copy_event(self, dst_curs, ev, filtered_copy):
     # send only data events down (skipping seqs also)
     if filtered_copy:
         if ev.type[:9] in ('londiste.',):
             return
     CascadedWorker.copy_event(self, dst_curs, ev, filtered_copy)