For 11 only, put back heap_expand_tuple to GetTupleForTrigger().

Andres Freund <andres@anarazel.de>

Commit: 920311ab18aac799aee6ad2303b2ed2b6b44c1b8
Author: Andres Freund <andres@anarazel.de>
Date: 2019-02-09T10:44:10Z
Releases: 11.2
For 11 only, put back heap_expand_tuple to GetTupleForTrigger().

This is not necessary anymore after 297d627e, but extensions that have
not been recompiled after the fix will not use the new definition of
heap_getattr(). While recompiling those extensions is obviously the
suggested course, it's cheap enough to retain the expansion in
GetTupleForTrigger().

Per suggestion from Andrew Gierth.

Discussion: 87va1x43ot.fsf@news-spur.riddles.org.uk

Files

PathChange+/−
src/backend/commands/trigger.c modified +9 −1