Обсуждение: pgsql: Add a comment noting that heap_copytuple_with_tuple() results in

Поиск
Список
Период
Сортировка

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

От
neilc@postgresql.org (Neil Conway)
Дата:
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)