Skip site navigation (1) Skip section navigation (2)

pgsql: Add SPI_push/SPI_pop calls so that datatype input and output

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add SPI_push/SPI_pop calls so that datatype input and output
Date: 2007-01-30 18:02:40
Message-ID: 20070130180240.EAC879FB411@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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.

Somewhat arbitrarily, I've chosen to back-patch this as far as 8.0.  Given
the lack of prior complaints, it doesn't seem critical for 7.x.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/pl/plpgsql/src:
        pl_exec.c (r1.127.4.5 -> r1.127.4.6)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_exec.c.diff?r1=1.127.4.5&r2=1.127.4.6)

pgsql-committers by date

Next:From: Tom LaneDate: 2007-01-30 22:05:13
Subject: pgsql: Repair oversights in the mechanism used to store compiled plpgsql
Previous:From: Tom LaneDate: 2007-01-30 18:02:35
Subject: pgsql: Add SPI_push/SPI_pop calls so that datatype input and output

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group