pgsql: plpgsql's exec_assign_value() freed the old value of a variable

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: plpgsql's exec_assign_value() freed the old value of a variable
Дата
Msg-id 20050620204458.6890D528AA@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
plpgsql's exec_assign_value() freed the old value of a variable before
copying/converting the new value, which meant that it failed badly on
"var := var" if var is of pass-by-reference type.  Fix this and a similar
hazard in exec_move_row(); not sure that the latter can manifest before
8.0, but patch it all the way back anyway.  Per report from Dave Chapeskie.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/pl/plpgsql/src:
        pl_exec.c (r1.93.2.1 -> r1.93.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_exec.c.diff?r1=1.93.2.1&r2=1.93.2.2)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: plpgsql's exec_assign_value() freed the old value of a variable
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: plpgsql's exec_assign_value() freed the old value of a variable