mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-09 07:47:00 +02:00
Improve regression tests to detect more errors.
By changing the order of the relations in the EXCEPT query, we can now detect when the target table is loaded empty.
This commit is contained in:
parent
7b33b9c853
commit
3d061a5f88
@ -496,7 +496,7 @@
|
|||||||
(format nil "~s::text" name)
|
(format nil "~s::text" name)
|
||||||
(format nil "~s" name))))
|
(format nil "~s" name))))
|
||||||
(sql (format nil
|
(sql (format nil
|
||||||
"select count(*) from (select ~{~a~^, ~} from ~a except select ~{~a~^, ~} from expected.~a) ss"
|
"select count(*) from (select ~{~a~^, ~} from expected.~a except select ~{~a~^, ~} from ~a) ss"
|
||||||
cols
|
cols
|
||||||
tname
|
tname
|
||||||
cols
|
cols
|
||||||
|
Loading…
Reference in New Issue
Block a user