- Notifications
You must be signed in to change notification settings - Fork5k
Commit2a3a396
committed
Clarify the ra != rb case in compareJsonbContainers().
It's impossible to reach this case with either ra or rb beingWJB_DONE, because our earlier checks that the structure andlength of the inputs match should guarantee that we reach theirends simultaneously. However, the comment completely fails toexplain this, and the Asserts don't cover it either. The commentis pretty obscure anyway, so rewrite it, and extend the Assertsto reject WJB_DONE.This is only cosmetic, so no need for back-patch.Author: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/0c623e8a204187b87b4736792398eaf1@postgrespro.ru1 parentaad1617 commit2a3a396
1 file changed
+9
-12
lines changedLines changed: 9 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
277 | 277 |
| |
278 | 278 |
| |
279 | 279 |
| |
280 |
| - | |
281 |
| - | |
282 |
| - | |
283 |
| - | |
284 |
| - | |
285 |
| - | |
286 |
| - | |
287 |
| - | |
288 |
| - | |
289 |
| - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
290 | 287 |
| |
291 |
| - | |
292 |
| - | |
| 288 | + | |
| 289 | + | |
293 | 290 |
| |
294 | 291 |
| |
295 | 292 |
| |
|
0 commit comments
Comments
(0)