Repair bug that allowed RevalidateCachedPlan to attempt to rebuild a cached
plan before the effects of DDL executed in an immediately prior SPI operation
had been absorbed. Per report from Chris Wood.
This patch has an unpleasant side effect of causing the number of
CommandCounterIncrement()s done by a typical plpgsql function to
approximately double. Amelioration of the consequences of that
will be undertaken in a separate patch.
spi.c (r1.184 -> r1.185)
plancache.out (r1.5 -> r1.6)
plancache.sql (r1.5 -> r1.6)
pgsql-committers by date
|Next:||From: Tom Lane||Date: 2007-11-30 21:22:54|
|Subject: pgsql: Avoid incrementing the CommandCounter when |
|Previous:||From: Magnus Hagander||Date: 2007-11-30 16:21:53|
|Subject: Re: pgsql: Use _dosmaperr() to deal with errors opening files in|