"Florian G. Pflug" <[EMAIL PROTECTED]> writes: > Plus, I'd see this as a kind of testbed for gently introducing > parallelism into postgres backends (especially thinking about sorting > here).
This thinking is exactly what makes me scream loudly and run in the other direction. I don't want threads introduced into the backend, whether "gently" or otherwise. The portability and reliability hits that we'll take are too daunting. Threads that invoke user-defined code (as anything involved with datatype-specific operations must) are especially fearsome, as there is precisely 0 chance of that code being thread-safe. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings