>>>>> "Andrew" == Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> writes:
Andrew> Of course the weak point in this theory is that there seems to
Andrew> be no reason at all why BufFileClose could possibly get called
Andrew> twice ... the only other theory would be that something has
Andrew> somehow reset the memory context _before_ we got here.
... and in this context I just noticed that pg_stat_statements is in
play, which could be significant.
--
Andrew (irc:RhodiumToad)