"Thomas Hallgren" <[EMAIL PROTECTED]> writes: > Is it safe to call pfree() from multiple threads?
There are no multiple threads in the backend, and no provision whatever for thread safety. On anything, not only pfree. If your Java runtime cannot be coerced into a single-thread mode of operation, you would be well advised to keep it at arm's length in a separate process. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend