Hmm, 64meg should certainly be far past where check_stack_depth will start to complain, so there's something else going on here.
Right; if those really are the stack size limits for the crashing backend, I guess my initial analysis must have been mistaken. But I'm mystified as to what else the problem could possibly be...
-Neil
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings