1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-16 15:02:33 +03:00
Files
postgres/src/backend
Tom Lane 2b78d101d1 Fix SQL function execution to be safe with long-lived FmgrInfos.
fmgr_sql had been designed on the assumption that the FmgrInfo it's called
with has only query lifespan.  This is demonstrably unsafe in connection
with range types, as shown in bug #7881 from Andrew Gierth.  Fix things
so that we re-generate the function's cache data if the (sub)transaction
it was made in is no longer active.

Back-patch to 9.2.  This might be needed further back, but it's not clear
whether the case can realistically arise without range types, so for now
I'll desist from back-patching further.
2013-03-03 17:39:58 -05:00
..
2013-02-21 22:46:17 -03:00
2013-02-21 05:27:16 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-02-06 00:19:53 -03:00
2011-08-17 14:07:46 +03:00
2013-01-01 17:15:01 -05:00
2013-02-21 11:46:46 -03:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-02-21 22:46:17 -03:00
2013-02-21 22:46:17 -03:00