Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f4SCZsA95670 for ; Mon, 28 May 2001 08:35:54 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4PFvuA67693 for ; Fri, 25 May 2001 11:57:56 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f4PFarR58517 for pgsql-admin@postgresql.org; Fri, 25 May 2001 11:36:53 -0400 (EDT) (envelope-from news) From: "Jeff Barrett" X-Newsgroups: comp.databases.postgresql.admin Subject: pqReadData() -- backend closed the channel unexpectedly. Date: Fri, 25 May 2001 11:30:13 -0400 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 28 Message-ID: <9elu6k$1p4i$1@news.tht.net> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: pgsql-admin@postgresql.org X-Archive-Number: 200105/154 X-Sequence-Number: 1511 I have a bit of an odd problem with an update statement. I have a table logs2 at 35 columns wide and a miserly 193 rows. I also have a table testtime at 4 columns wide and 2.2 million rows. When I run the following sql I get a success on testtime and a failure of "pqReadData() -- backend closed the channel unexpectedly on logs2". update set time2 = to_timestamp(time, 'HH24:MI:SS'); This is quite confusing to me, I have a success on updating a 2.2 million row table and a failure on a 193 row table (the smaller data set is a subset of the 2.2 million row selection). Both tables are fresh, built with a select into statement, a variety of other queries work fine with these tables. The machine has a gig of ram and a 800mb shared buffer. The sort buffer set to 16mb. What is causing this problem? How can I figure this out? I have some theories on what might be going wrong. The sort buffers are probably too small (I am working on getting my hands on the root password so I can play with this). There is some problem with version 7.0.3 that is causing the back end to drop out, but I have seen no postings on that possibility. So any advice on how to trace this problem down would be great. -Jeff Barrett