forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2a9e04f
committed
Don't truncate away non-key attributes for leftmost downlinks.
nbtsort.c does not need to truncate away non-key attributes for theminimum key of the leftmost page on a level, since this is only used tobuild a minus infinity downlink for the level's leftmost page.Truncating away non-key attributes in advance of truncating away allattributes in _bt_sortaddtup() does not affect the correctness of CREATEINDEX, but it is misleading.Author: Peter GeogheganDiscussion:https://www.postgresql.org/message-id/CAH2-WzkAS2M3ussHG-s_Av=Zo6dPjOxyu5fNRkYnxQV+YzGQ4w@mail.gmail.com1 parent0bef1c0 commit2a9e04f
1 file changed
+14
-16
lines changedLines changed: 14 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
934 | 934 |
| |
935 | 935 |
| |
936 | 936 |
| |
937 |
| - | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
938 | 941 |
| |
939 | 942 |
| |
940 | 943 |
| |
| |||
974 | 977 |
| |
975 | 978 |
| |
976 | 979 |
| |
977 |
| - | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
978 | 983 |
| |
979 | 984 |
| |
980 | 985 |
| |
981 |
| - | |
982 |
| - | |
983 | 986 |
| |
984 |
| - | |
985 |
| - | |
986 |
| - | |
987 |
| - | |
988 |
| - | |
989 |
| - | |
990 |
| - | |
991 |
| - | |
992 |
| - | |
993 |
| - | |
994 |
| - | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
995 | 990 |
| |
996 | 991 |
| |
997 | 992 |
| |
| |||
1044 | 1039 |
| |
1045 | 1040 |
| |
1046 | 1041 |
| |
1047 |
| - | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
1048 | 1046 |
| |
1049 | 1047 |
| |
1050 | 1048 |
| |
|
0 commit comments
Comments
(0)