Re: mark/restore failures on unsorted merge joins
Andrew Gierth <andrew@tao11.riddles.org.uk>
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org, kes-kes@yandex.ru
Date: 2020-11-24T19:41:35Z
Lists: pgsql-hackers
Attachments
- markpos.patch (text/x-patch) patch
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes: Tom> Oh, sorry, I misread your comment to be that you wanted to add a Tom> field to IndexAmRoutine. You're right, the real issue here is that Tom> ExecSupportsMarkRestore lacks any convenient access to the needed Tom> info, and we need to add a bool to IndexOptInfo to fix that. Tom> I don't see any compelling reason why you couldn't add the field Tom> at the end in the back branches; that's what we usually do to Tom> avoid ABI breaks. Although actually (counts fields...) it looks Tom> like there's at least one pad byte after amcanparallel, so you Tom> could add a bool there without any ABI consequence, resulting in a Tom> reasonably natural field order in all branches. I guess that's close enough; this should suffice then. -- Andrew (irc:RhodiumToad)
Commits
-
Properly check index mark/restore in ExecSupportsMarkRestore.
- 660b89928d18 14.0 landed
- 59ed45e278b7 9.5.25 landed
- 6402afd9865e 9.6.21 landed
- 321c87e5ca1a 10.16 landed
- 018e7d98dc15 11.11 landed
- ae5aa26dc39d 12.6 landed
- 6dda057043df 13.2 landed