I said: > The alter_table diff is clearly indicative of a bug. Can you set a > breakpoint and discover exactly where calloc is blowing up?
Never mind, I see it: psql is doing calloc(0) when presented with a table of zero columns. Surprising you're the first to try it on a platform where that returns NULL. I've committed fixes for the other issues too, so CVS tip should now pass cleanly on your platform. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster