forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit94133a9
committed
Mark operator implementation functions as such in their comments.
Historically, we've not had separate comments for built-in pg_operatorentries, but relied on the comments for the underlying functions. Thetrouble with this approach is that there isn't much of anything to suggestto users that they'd be better off using the operators instead. So, moveall the relevant comments into pg_operator, and give each underlyingfunction a comment that just says "implementation of XXX operator".There are only about half a dozen cases where it seems reasonable to usethe underlying function interchangeably with the operator; in these casesI left the same comment in place on the function as on the operator.While at it, establish a policy that every built-in function and operatorentry should have a comment: there are now queries in the opr_sanityregression test that will complain if one doesn't. This only requiredadding a dozen or two more entries than would have been there anyway.I also spent some time trying to eliminate gratuitous inconsistencies inthe style of the comments, though it's hopeless to suppose that more won'tcreep in soon enough.Per my proposal of 2010-10-15.1 parent091bda0 commit94133a9
File tree
6 files changed
+1676
-838
lines changed- src
- bin/psql
- include/catalog
- test/regress
- expected
- sql
6 files changed
+1676
-838
lines changedLines changed: 17 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
559 | 559 |
| |
560 | 560 |
| |
561 | 561 |
| |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
562 | 575 |
| |
563 | 576 |
| |
564 | 577 |
| |
| |||
877 | 890 |
| |
878 | 891 |
| |
879 | 892 |
| |
880 |
| - | |
| 893 | + | |
881 | 894 |
| |
882 | 895 |
| |
883 | 896 |
| |
| |||
896 | 909 |
| |
897 | 910 |
| |
898 | 911 |
| |
899 |
| - | |
| 912 | + | |
900 | 913 |
| |
901 | 914 |
| |
902 | 915 |
| |
| |||
942 | 955 |
| |
943 | 956 |
| |
944 | 957 |
| |
945 |
| - | |
| 958 | + | |
946 | 959 |
| |
947 | 960 |
| |
948 | 961 |
| |
| |||
964 | 977 |
| |
965 | 978 |
| |
966 | 979 |
| |
967 |
| - | |
| 980 | + | |
968 | 981 |
| |
969 | 982 |
| |
970 | 983 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
0 commit comments
Comments
(0)