OSDN Git Service

Add a comment noting that heap_copytuple_with_tuple() results in a
authorNeil Conway <neilc@samurai.com>
Thu, 23 Nov 2006 05:27:18 +0000 (05:27 +0000)
committerNeil Conway <neilc@samurai.com>
Thu, 23 Nov 2006 05:27:18 +0000 (05:27 +0000)
commit546d6848ca708df79e3530ccd001b50ad77c4175
tree3a8211f98f5623b6fbddbe04c13ce5663c0dc710
parent0c6f167c4a59b87d17462bd1ec3b7c7ac0f0c1d5
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().
src/backend/access/common/heaptuple.c