forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb39fd89
committed
Improve regression test coverage of expand_tuple().
I was dissatisfied with the code coverage report for expand_tuple() in thewake of commit7c44c46: while better than no coverage at all, it wasstill not exercising the core function of inserting out-of-line defaultvalues, nor was the HeapTuple-output path covered. So far as I can find,the only code path that reaches the latter at present is EvalPlanQualfetches for non-locked tables. Hence, extend eval-plan-qual.spec totest cases where out-of-line defaults must be inserted into a tuplefetched from a non-locked table.Discussion:https://postgr.es/m/87woxi24uw.fsf@ansel.ydns.eu1 parent50c6bb0 commitb39fd89
File tree
2 files changed
+34
-0
lines changed- src/test/isolation
- expected
- specs
2 files changed
+34
-0
lines changedLines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
145 | 145 |
| |
146 | 146 |
| |
147 | 147 |
| |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
148 | 168 |
| |
149 | 169 |
| |
150 | 170 |
| |
|
Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 |
| |
13 | 18 |
| |
14 | 19 |
| |
| |||
29 | 34 |
| |
30 | 35 |
| |
31 | 36 |
| |
| 37 | + | |
32 | 38 |
| |
33 | 39 |
| |
34 | 40 |
| |
| |||
72 | 78 |
| |
73 | 79 |
| |
74 | 80 |
| |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
75 | 86 |
| |
76 | 87 |
| |
77 | 88 |
| |
| |||
105 | 116 |
| |
106 | 117 |
| |
107 | 118 |
| |
| 119 | + | |
108 | 120 |
| |
109 | 121 |
| |
110 | 122 |
| |
| |||
124 | 136 |
| |
125 | 137 |
| |
126 | 138 |
| |
| 139 | + | |
127 | 140 |
| |
128 | 141 |
| |
129 | 142 |
| |
| |||
156 | 169 |
| |
157 | 170 |
| |
158 | 171 |
| |
| 172 | + | |
159 | 173 |
| |
160 | 174 |
| |
161 | 175 |
| |
|
0 commit comments
Comments
(0)