Jessica Richard <rjessil@xxxxxxxxx> writes: > server closed the connection unexpectedly > This probably means the server terminated abnormally > before or while processing the request. > If this a Postgres disconnection or a disconnection on the OS side? Well, you can't tell for certain from the client side. The postmaster log would tell. But unless you have a flaky network, this is probably the result of a backend crash :-(. Can you reproduce it, or get a gdb stack trace? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq