forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc6ce5f7
committed
Fix handling of non-key columns get_index_column_opclass()
f2e4038 introduces support of non-key attributes in GiST indexes. Then ifget_index_column_opclass() is asked by gistproperty() to get an opclass ofnon-key column, it returns garbage past oidvector value. This commit fixesthat by making get_index_column_opclass() return InvalidOid in this case.Discussion:https://postgr.es/m/20190902231948.GA5343%40alvherre.pgsqlAuthor: Nikita Glukhov, Alexander KorotkovBackpatch-through: 121 parent55a808c commitc6ce5f7
1 file changed
+11
-1
lines changedLines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3157 | 3157 |
| |
3158 | 3158 |
| |
3159 | 3159 |
| |
3160 |
| - | |
| 3160 | + | |
| 3161 | + | |
3161 | 3162 |
| |
3162 | 3163 |
| |
3163 | 3164 |
| |
| |||
3180 | 3181 |
| |
3181 | 3182 |
| |
3182 | 3183 |
| |
| 3184 | + | |
| 3185 | + | |
| 3186 | + | |
| 3187 | + | |
| 3188 | + | |
| 3189 | + | |
| 3190 | + | |
3183 | 3191 |
| |
3184 | 3192 |
| |
3185 | 3193 |
| |
3186 | 3194 |
| |
3187 | 3195 |
| |
| 3196 | + | |
| 3197 | + | |
3188 | 3198 |
| |
3189 | 3199 |
| |
3190 | 3200 |
| |
|
0 commit comments
Comments
(0)