Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> writes:> following query cause postmaster to fail.
You haven't shown us your own code, but I'd guess that you are doingsomething you shouldn't with memory contexts.
regards, tom lane