forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita4df52f
committed
Fix breakage of GIN support for varchar[] and cidr[] that I introduced in the
operator-family rewrite. I had mistakenly supposed that these could use thepg_amproc entries for text[] and inet[] respectively. However, binarycompatibility of the underlying types does not make two array types binarycompatible (since they must differ in the header field that gives the elementtype OID), and so the index support code doesn't consider those entriesapplicable. Add back the missing pg_amproc entries, and add an opr_sanityquery to try to catch such mistakes in future. Per report from GregoryMaxwell.1 parent2abae34 commita4df52f
File tree
4 files changed
+33
-3
lines changed- src
- include/catalog
- test/regress
- expected
- sql
4 files changed
+33
-3
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
Lines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| |||
214 | 214 |
| |
215 | 215 |
| |
216 | 216 |
| |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
217 | 221 |
| |
218 | 222 |
| |
219 | 223 |
| |
| |||
254 | 258 |
| |
255 | 259 |
| |
256 | 260 |
| |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
257 | 265 |
| |
258 | 266 |
| |
259 | 267 |
| |
|
Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
940 | 940 |
| |
941 | 941 |
| |
942 | 942 |
| |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
943 | 955 |
| |
944 | 956 |
| |
945 | 957 |
| |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
751 | 751 |
| |
752 | 752 |
| |
753 | 753 |
| |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
754 | 764 |
| |
755 | 765 |
| |
756 | 766 |
| |
|
0 commit comments
Comments
(0)