Hi,
> This extends the table AM interface. An ABI-preserving back-branch fix can
> be considered separately.
Actually I think we should do just the opposite - focus on the patch
that can be backported and discuss possible improvements for the
`master` branch later.
The root cause is that unique checks use a dirty snapshot. They can
decide a key is unused because of a deletion the transaction cannot
see. The fix might be to ask our own snapshot the same question, and
fail if it still sees the key in use. I don't think this will require
an ABI change.
--
Best regards,
Aleksander Alekseev