Files
postgresql/src/backend
Andres Freund 75e03eabea Fix potential use-after-free for BEFORE UPDATE row triggers on non-core AMs.
When such a trigger returns the old row version, it naturally get
stored in the slot for the trigger result. When a table AMs doesn't
store HeapTuples internally, ExecBRUpdateTriggers() frees the old row
version passed to triggers - but before this fix it might still be
referenced by the slot holding the new tuple.

Noticed when running the out-of-core zheap AM against the in-core
version of tableam.

Author: Andres Freund
2019-04-18 17:53:54 -07:00
..
2019-01-02 12:44:25 -05:00
2019-04-09 08:33:42 +03:00
2018-06-25 12:37:18 +02:00
2019-01-02 12:44:25 -05:00
2018-03-30 17:33:04 -07:00
2018-06-25 12:37:18 +02:00