- Notifications
You must be signed in to change notification settings - Fork5.2k
Commite0d3f3c
committed
Remove assertion from PortalRunMulti
We have an assertion to ensure that a command tag has been assigned bythe time we're done executing, but if we happen to execute a commandwith no queries, the assertion would fail. Per discussion, rather thancontort things to get a tag assigned, just remove the assertion.Oversight in2f96613. That commit also retained a comment thatexplained logic that had been adjacent to it but diffused into variousplaces, leaving none apt to keep part of the comment. Remove that part,and rewrite what remains for extra clarity.Bug: #18984Backpatch-through: 13Reported-by: Aleksander Alekseev <aleksander@tigerdata.com>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Reviewed-by: Michaël Paquier <michael@paquier.xyz>Discussion:https://postgr.es/m/18984-0f4778a6599ac3ae@postgresql.org1 parentc4b5cd0 commite0d3f3c
1 file changed
+8
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1350 | 1350 | | |
1351 | 1351 | | |
1352 | 1352 | | |
1353 | | - | |
1354 | | - | |
1355 | | - | |
1356 | | - | |
1357 | | - | |
1358 | | - | |
1359 | | - | |
1360 | | - | |
1361 | | - | |
1362 | | - | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
1363 | 1357 | | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
1368 | | - | |
1369 | | - | |
1370 | | - | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
1371 | 1362 | | |
1372 | 1363 | | |
1373 | 1364 | | |
| |||
0 commit comments
Comments
(0)