Обсуждение: plpsm - plpgpsm: merge patch: Add SPI_push/SPI_pop calls so that

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

plpsm - plpgpsm: merge patch: Add SPI_push/SPI_pop calls so that

От
okbob@pgfoundry.org (User Okbob)
Дата:
Log Message:
-----------
merge patch:  Add SPI_push/SPI_pop calls so that datatype input and output

Add SPI_push/SPI_pop calls so that datatype input and output functions called
by plpgsql can themselves use SPI --- possibly indirectly, as in the case
of domain_in() invoking plpgsql functions in a domain check constraint.
Per bug #2945 from Sergiy Vyshnevetskiy.

Modified Files:
--------------
    plpgpsm/src:
        pl_exec.c (r1.32 -> r1.33)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/plpsm/plpgpsm/src/pl_exec.c.diff?r1=1.32&r2=1.33)