forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5c53844
committed
Fix broken Assert() introduced by8e9a16a
Don't assert MultiXactIdIsRunning if the multi came from a tuple thathad been share-locked and later copied over to the new cluster bypg_upgrade. Doing that causes an error to be raised unnecessarily:MultiXactIdIsRunning is not open to the possibility that its argumentcame from a pg_upgraded tuple, and all its other callers are alreadychecking; but such multis cannot, obviously, have transactions stillrunning, so the assert is pointless.Noticed while investigating the bogus pg_multixact/offsets/0000 fileleft over by pg_upgrade, as reported by Andres Freund inhttp://www.postgresql.org/message-id/20140530121631.GE25431@alap3.anarazel.deBackpatch to 9.3, as the commit that introduced the buglet.1 parenta2db7b7 commit5c53844
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5326 | 5326 |
| |
5327 | 5327 |
| |
5328 | 5328 |
| |
| 5329 | + | |
| 5330 | + | |
| 5331 | + | |
| 5332 | + | |
5329 | 5333 |
| |
5330 |
| - | |
| 5334 | + | |
| 5335 | + | |
| 5336 | + | |
5331 | 5337 |
| |
5332 | 5338 |
| |
5333 | 5339 |
| |
|
0 commit comments
Comments
(0)