Kris Jurka <[EMAIL PROTECTED]> writes: > What happens if you add a sleep 5 call in between the createdb calls?
Even a fractional-second sleep would likely do it. I have traced through scenarios like this in the past, and AFAICT the exiting backend is not doing anything wrong or even using an unreasonable amount of CPU time before it quits. It simply isn't getting scheduled to run because for one reason or another the kernel gives time slices to the foreground clients and the new backend first. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly