Hi
I have stopped $subj while doing unrelated hacking today.
transam/README suggest following for WAL-logging changes:
...
6. END_CRIT_SECTION()
7. Unlock and unpin the buffer(s).
Few places in GIN code does not follow that. v1 fixes it.
--
Best regards,
Kirill Reshke