]> granicus.if.org Git - postgresql/commit
Add SPI_push/SPI_pop calls so that datatype input and output functions called
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 30 Jan 2007 18:02:40 +0000 (18:02 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 30 Jan 2007 18:02:40 +0000 (18:02 +0000)
commit052e884e8ba716b82429e6f24d1b136fb4594a1f
tree928507a7e3878415ce539cdd1c1d0994d309bd4d
parentf109cb128553162fef3e8f945ef5a4d8f4698269
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.
src/pl/plpgsql/src/pl_exec.c