forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitaa0d350
committed
Improve description of keys in tsvector
If all the bits of a key in a tsvector are true (marked with ALLISTRUE),gtsvectorout() would show the following description:"0 true bits, 0 false bits"This is confusing, as all the bits are true, but this would beequivalent to the information if siglen is 0.This commit improves the output so as "all true bits" show instead inthis case. Alexander has proposed a regression test for pageinspect,not included here as it is rather expensive compared to its coveragevalue.Author: Alexander LakhinDiscussion:https://postgr.es/m/17950-6c80a8d2b94ec695@postgresql.org1 parentae10dbb commitaa0d350
1 file changed
+8
-3
lines changedLines changed: 8 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
118 |
| - | |
119 |
| - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
120 | 124 |
| |
121 |
| - | |
| 125 | + | |
| 126 | + | |
122 | 127 |
| |
123 | 128 |
| |
124 | 129 |
| |
|
0 commit comments
Comments
(0)