- Notifications
You must be signed in to change notification settings - Fork28
Commitf969678
committed
Improve test coverage for functional dependencies
The regression tests for functional dependencies were only using clausesof the form (Var op Const), i.e. with Var on the left side. This addsa couple of queries with Var on the right, to test other code paths.It also prints one of the functional dependencies, to test the data typeoutput function. The functional dependencies are "perfect" with degreeof 1.0 so this should be stable.Discussion:https://www.postgresql.org/message-id/flat/20200113230008.g67iyk4cs3xbnjju@developmentAuthor: Tomas Vondra1 parent87c9c25 commitf969678
2 files changed
+38
-0
lines changedLines changed: 31 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
536 | 536 |
| |
537 | 537 |
| |
538 | 538 |
| |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
539 | 546 |
| |
540 | 547 |
| |
541 | 548 |
| |
| |||
697 | 704 |
| |
698 | 705 |
| |
699 | 706 |
| |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
700 | 713 |
| |
701 | 714 |
| |
702 | 715 |
| |
| |||
709 | 722 |
| |
710 | 723 |
| |
711 | 724 |
| |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
712 | 731 |
| |
713 | 732 |
| |
714 | 733 |
| |
| |||
719 | 738 |
| |
720 | 739 |
| |
721 | 740 |
| |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
722 | 747 |
| |
723 | 748 |
| |
724 | 749 |
| |
| |||
731 | 756 |
| |
732 | 757 |
| |
733 | 758 |
| |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
734 | 765 |
| |
735 | 766 |
| |
736 | 767 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
318 | 318 |
| |
319 | 319 |
| |
320 | 320 |
| |
| 321 | + | |
| 322 | + | |
| 323 | + | |
321 | 324 |
| |
322 | 325 |
| |
323 | 326 |
| |
| |||
391 | 394 |
| |
392 | 395 |
| |
393 | 396 |
| |
| 397 | + | |
394 | 398 |
| |
395 | 399 |
| |
| 400 | + | |
396 | 401 |
| |
397 | 402 |
| |
398 | 403 |
| |
| |||
401 | 406 |
| |
402 | 407 |
| |
403 | 408 |
| |
| 409 | + | |
404 | 410 |
| |
405 | 411 |
| |
| 412 | + | |
406 | 413 |
| |
407 | 414 |
| |
408 | 415 |
| |
|
0 commit comments
Comments
(0)