pgsql: Add a comment noting that heap_copytuple_with_tuple() results in

From: neilc(at)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add a comment noting that heap_copytuple_with_tuple() results in
Date: 2006-11-23 05:27:19
Message-ID: 20061123052719.C47B49FB1DD@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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().

Modified Files:
--------------
pgsql/src/backend/access/common:
heaptuple.c (r1.111 -> r1.112)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/common/heaptuple.c.diff?r1=1.111&r2=1.112)

Browse pgsql-committers by date

  From Date Subject
Next Message Neil Conway 2006-11-23 05:28:19 pgsql: Fix a typo in recent xfunc addition, do some routine SGML police
Previous Message Bruce Momjian 2006-11-23 05:14:05 pgsql: Update lock comments for concurrent index creation, analyze.