aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/functioncmds.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-05-14 18:13:21 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-05-14 18:13:21 +0000
commitfd53a67dcd075fbd7e54dc373782c05488d7d64b (patch)
treece95cf73edcc1cc8b677b136727d14bcd321635e /src/backend/commands/functioncmds.c
parent689dea424dd7f335fd1a5b37ba6a6d68b2da43e6 (diff)
downloadpostgresql-fd53a67dcd075fbd7e54dc373782c05488d7d64b.tar.gz
postgresql-fd53a67dcd075fbd7e54dc373782c05488d7d64b.zip
Prevent RevalidateCachedPlan from making any permanent change in
ActiveSnapshot. Having it affect ActiveSnapshot only in the unusual case of needing to replan seems a bad idea, and there's also the problem that the created snap might be in a relatively short-lived context, as noted by Jan Wieck. Also, there's no need to force a new snap at all unless we are called with no snap currently set, which is an unusual case in itself.
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions