equal
deleted
inserted
replaced
26 dstconn = self.pgm.get_conn('dst') |
26 dstconn = self.pgm.get_conn('dst') |
27 |
27 |
28 dd = pgdatadiff.PgDataDiff(srcconn, dstconn) |
28 dd = pgdatadiff.PgDataDiff(srcconn, dstconn) |
29 |
29 |
30 for srcschema, srctable, dstschema, dsttable in self.tables(): |
30 for srcschema, srctable, dstschema, dsttable in self.tables(): |
31 print('Diff from [%s] %s.%s to [%s] %s.%s' % ( |
31 print('-- Diff from [%s] %s.%s to [%s] %s.%s' % ( |
32 self.args.src, srcschema, srctable, |
32 self.args.src, srcschema, srctable, |
33 self.args.dst, dstschema, dsttable)) |
33 self.args.dst, dstschema, dsttable)) |
34 |
34 |
35 if self.args.rowcount: |
35 if self.args.rowcount: |
36 with self.pgm.cursor('src') as curs: |
36 with self.pgm.cursor('src') as curs: |