Code Duplication    Length = 8-8 lines in 3 locations

src/database/Postgres.php 3 locations

@@ 2552-2559 (lines=8) @@
2549
            return -1;
2550
        }
2551
2552
        if ($tblcomment != '') {
2553
            $status = $this->setComment('TABLE', '', $name, $tblcomment, true);
2554
            if ($status) {
2555
                $this->rollbackTransaction();
2556
2557
                return -1;
2558
            }
2559
        }
2560
2561
        if ($comment_sql != '') {
2562
            $status = $this->execute($comment_sql);
@@ 5939-5946 (lines=8) @@
5936
            return -1;
5937
        }
5938
5939
        if ($typcomment != '') {
5940
            $status = $this->setComment('TYPE', $name, '', $typcomment, true);
5941
            if ($status) {
5942
                $this->rollbackTransaction();
5943
5944
                return -1;
5945
            }
5946
        }
5947
5948
        return $this->endTransaction();
5949
    }
@@ 6072-6079 (lines=8) @@
6069
            return -1;
6070
        }
6071
6072
        if ($typcomment != '') {
6073
            $status = $this->setComment('TYPE', $name, '', $typcomment, true);
6074
            if ($status) {
6075
                $this->rollbackTransaction();
6076
6077
                return -1;
6078
            }
6079
        }
6080
6081
        if ($comment_sql != '') {
6082
            $status = $this->execute($comment_sql);