Обсуждение: pgsql: record_in and record_recv must be careful to return a separately

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

pgsql: record_in and record_recv must be careful to return a separately

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
record_in and record_recv must be careful to return a separately
pfree'able result, since some callers expect to be able to pfree
the result of a pass-by-reference function.  Per report from Chris Trawick.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        rowtypes.c (r1.8 -> r1.8.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/rowtypes.c.diff?r1=1.8&r2=1.8.4.1)