Обсуждение: pgsql: Volatile-ize all five places where we expect a PG_TRY block to

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

pgsql: Volatile-ize all five places where we expect a PG_TRY block to

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Volatile-ize all five places where we expect a PG_TRY block to restore
old memory context in plpython.  Before only one of them was marked
volatile, but per report from Zdenek Kotala, some compilers do the
wrong thing here.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/pl/plpython:
        plpython.c (r1.90.2.5 -> r1.90.2.6)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c?r1=1.90.2.5&r2=1.90.2.6)