[COMMITTERS] pgsql: Invent a "one-shot" variant of CachedPlans for better performanc

2013-01-04 Thread Tom Lane
Invent a "one-shot" variant of CachedPlans for better performance. SPI_execute() and related functions create a CachedPlan, execute it once, and immediately discard it, so that the functionality offered by plancache.c is of no value in this code path. And performance measurements show that the ex

[COMMITTERS] pgsql: Invent a "one-shot" variant of CachedPlans for better performanc

2013-01-04 Thread Tom Lane
Invent a "one-shot" variant of CachedPlans for better performance. SPI_execute() and related functions create a CachedPlan, execute it once, and immediately discard it, so that the functionality offered by plancache.c is of no value in this code path. And performance measurements show that the ex