Add a comment noting that heap_copytuple_with_tuple() results in a

Neil Conway <neilc@samurai.com>

Commit: 546d6848ca708df79e3530ccd001b50ad77c4175
Author: Neil Conway <neilc@samurai.com>
Date: 2006-11-23T05:27:18Z
Releases: 8.2.0
Add a comment noting that heap_copytuple_with_tuple() results in a
HeapTuple that is no longer allocated as a single palloc() block; if
used carelessly, this might result in a subsequent memory leak after
heap_freetuple().

Files

PathChange+/−
src/backend/access/common/heaptuple.c modified +4 −1