forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6339f64
committed
Rename RowCompareType to CompareType
RowCompareType served as a way to describe the fundamental meaning ofan operator, notionally independent of an operator class (although sofar this was only really supported for btrees). Its original purposewas for use inside RowCompareExpr, and it has also found some smalluse outside, such as for get_op_btree_interpretation().We want to expand this now, as a more general way to describe operatorsemantics for other index access methods, including gist (to improveGistTranslateStratnum()) and others not written yet. To avoid futureconfusion, we rename the type to CompareType and the symbols fromROWCOMPARE_XXX to COMPARE_XXX to reflect their more general purpose.Reviewed-by: Mark Dilger <mark.dilger@enterprisedb.com>Discussion:https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com1 parent9a45a89 commit6339f64
File tree
11 files changed
+55
-42
lines changed- src
- backend
- executor
- jit/llvm
- optimizer
- path
- util
- parser
- utils/cache
- include
- executor
- nodes
- tools/pgindent
11 files changed
+55
-42
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2102 | 2102 |
| |
2103 | 2103 |
| |
2104 | 2104 |
| |
2105 |
| - | |
| 2105 | + | |
2106 | 2106 |
| |
2107 | 2107 |
| |
2108 | 2108 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1500 | 1500 |
| |
1501 | 1501 |
| |
1502 | 1502 |
| |
1503 |
| - | |
| 1503 | + | |
1504 | 1504 |
| |
1505 | 1505 |
| |
1506 |
| - | |
| 1506 | + | |
1507 | 1507 |
| |
1508 | 1508 |
| |
1509 |
| - | |
| 1509 | + | |
1510 | 1510 |
| |
1511 | 1511 |
| |
1512 |
| - | |
| 1512 | + | |
1513 | 1513 |
| |
1514 | 1514 |
| |
1515 |
| - | |
| 1515 | + | |
1516 | 1516 |
| |
1517 | 1517 |
| |
1518 |
| - | |
| 1518 | + | |
1519 | 1519 |
| |
1520 | 1520 |
| |
1521 | 1521 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1344 | 1344 |
| |
1345 | 1345 |
| |
1346 | 1346 |
| |
1347 |
| - | |
| 1347 | + | |
1348 | 1348 |
| |
1349 | 1349 |
| |
1350 | 1350 |
| |
| |||
1421 | 1421 |
| |
1422 | 1422 |
| |
1423 | 1423 |
| |
1424 |
| - | |
| 1424 | + | |
1425 | 1425 |
| |
1426 | 1426 |
| |
1427 | 1427 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1770 | 1770 |
| |
1771 | 1771 |
| |
1772 | 1772 |
| |
1773 |
| - | |
| 1773 | + | |
1774 | 1774 |
| |
1775 | 1775 |
| |
1776 | 1776 |
| |
| |||
1786 | 1786 |
| |
1787 | 1787 |
| |
1788 | 1788 |
| |
1789 |
| - | |
| 1789 | + | |
1790 | 1790 |
| |
1791 |
| - | |
| 1791 | + | |
1792 | 1792 |
| |
1793 | 1793 |
| |
1794 |
| - | |
| 1794 | + | |
1795 | 1795 |
| |
1796 | 1796 |
| |
1797 |
| - | |
| 1797 | + | |
1798 | 1798 |
| |
1799 | 1799 |
| |
1800 |
| - | |
| 1800 | + | |
1801 | 1801 |
| |
1802 | 1802 |
| |
1803 | 1803 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3675 | 3675 |
| |
3676 | 3676 |
| |
3677 | 3677 |
| |
3678 |
| - | |
| 3678 | + | |
3679 | 3679 |
| |
3680 | 3680 |
| |
3681 | 3681 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1664 | 1664 |
| |
1665 | 1665 |
| |
1666 | 1666 |
| |
1667 |
| - | |
| 1667 | + | |
1668 | 1668 |
| |
1669 | 1669 |
| |
1670 | 1670 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2807 | 2807 |
| |
2808 | 2808 |
| |
2809 | 2809 |
| |
2810 |
| - | |
| 2810 | + | |
2811 | 2811 |
| |
2812 | 2812 |
| |
2813 | 2813 |
| |
| |||
2928 | 2928 |
| |
2929 | 2929 |
| |
2930 | 2930 |
| |
2931 |
| - | |
| 2931 | + | |
2932 | 2932 |
| |
2933 | 2933 |
| |
2934 | 2934 |
| |
2935 | 2935 |
| |
2936 | 2936 |
| |
2937 |
| - | |
| 2937 | + | |
2938 | 2938 |
| |
2939 |
| - | |
| 2939 | + | |
2940 | 2940 |
| |
2941 | 2941 |
| |
2942 | 2942 |
| |
| |||
2953 | 2953 |
| |
2954 | 2954 |
| |
2955 | 2955 |
| |
2956 |
| - | |
| 2956 | + | |
2957 | 2957 |
| |
2958 | 2958 |
| |
2959 | 2959 |
| |
| |||
2989 | 2989 |
| |
2990 | 2990 |
| |
2991 | 2991 |
| |
2992 |
| - | |
| 2992 | + | |
2993 | 2993 |
| |
2994 | 2994 |
| |
2995 | 2995 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
595 | 595 |
| |
596 | 596 |
| |
597 | 597 |
| |
598 |
| - | |
| 598 | + | |
599 | 599 |
| |
600 | 600 |
| |
601 | 601 |
| |
| |||
666 | 666 |
| |
667 | 667 |
| |
668 | 668 |
| |
669 |
| - | |
| 669 | + | |
670 | 670 |
| |
671 | 671 |
| |
672 | 672 |
| |
673 |
| - | |
| 673 | + | |
674 | 674 |
| |
675 | 675 |
| |
676 | 676 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
494 | 494 |
| |
495 | 495 |
| |
496 | 496 |
| |
497 |
| - | |
| 497 | + | |
498 | 498 |
| |
499 | 499 |
| |
500 | 500 |
| |
|
Lines changed: 27 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1435 | 1435 |
| |
1436 | 1436 |
| |
1437 | 1437 |
| |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
1438 | 1463 |
| |
1439 | 1464 |
| |
1440 | 1465 |
| |
| |||
1446 | 1471 |
| |
1447 | 1472 |
| |
1448 | 1473 |
| |
1449 |
| - | |
1450 |
| - | |
| 1474 | + | |
1451 | 1475 |
| |
1452 |
| - | |
1453 |
| - | |
1454 |
| - | |
1455 |
| - | |
1456 |
| - | |
1457 |
| - | |
1458 |
| - | |
1459 |
| - | |
1460 |
| - | |
1461 |
| - | |
1462 |
| - | |
1463 | 1476 |
| |
1464 | 1477 |
| |
1465 | 1478 |
| |
1466 | 1479 |
| |
1467 | 1480 |
| |
1468 |
| - | |
| 1481 | + | |
1469 | 1482 |
| |
1470 | 1483 |
| |
1471 | 1484 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
458 | 458 |
| |
459 | 459 |
| |
460 | 460 |
| |
| 461 | + | |
461 | 462 |
| |
462 | 463 |
| |
463 | 464 |
| |
| |||
2494 | 2495 |
| |
2495 | 2496 |
| |
2496 | 2497 |
| |
2497 |
| - | |
2498 | 2498 |
| |
2499 | 2499 |
| |
2500 | 2500 |
| |
|
0 commit comments
Comments
(0)