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.
pl_exec.c (r220.127.116.11 -> r18.104.22.168)
pgsql-committers by date
|Next:||From: Tom Lane||Date: 2007-01-30 22:05:13|
|Subject: pgsql: Repair oversights in the mechanism used to store compiled plpgsql |
|Previous:||From: Tom Lane||Date: 2007-01-30 18:02:35|
|Subject: pgsql: Add SPI_push/SPI_pop calls so that datatype input and output |