forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc01a56c
committed
Fix BuildIndexValueDescription for expressions
In804b6b6 we modifiedBuildIndexValueDescription to pay attention to which columns are visibleto the user, but unfortunatley that commit neglected to consider indexeswhich are built on expressions.Handle error-reporting of violations of constraint indexes based onexpressions by not returning any detail when the user does not havetable-level SELECT rights.Backpatch to 9.0, as the prior commit was.Pointed out by Tom.1 parent290c2da commitc01a56c
1 file changed
+9
-4
lines changedLines changed: 9 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
209 |
| - | |
210 |
| - | |
211 |
| - | |
212 |
| - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
213 | 218 |
| |
214 | 219 |
| |
215 | 220 |
| |
|
0 commit comments
Comments
(0)