[HACKERS] Re: Patches for TODO item: Avoid truncating empty OCDR temp tables on COMMIT

2013-01-29 Thread Heikki Linnakangas
On 29.01.2013 04:41, Robert Haas wrote: On Mon, Jan 28, 2013 at 8:39 AM, Heikki Linnakangas hlinnakan...@vmware.com wrote: We already have that MyXactAccessedTempRel global flag. Just checking that should cover many common cases. +1 for that. I'm actually unconvinced that we need to do any

[HACKERS] Re: Patches for TODO item: Avoid truncating empty OCDR temp tables on COMMIT

2013-01-28 Thread Heikki Linnakangas
On 15.01.2013 21:03, Tom Lane wrote: Robert Haasrobertmh...@gmail.com writes: On the third hand, the fact that a table is OCDR is recorded in backend-local storage somewhere, and that storage (unlike the relcache) had better be reliable. So maybe there's some way to finesse it that way. Hm,