pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Barrett <jbarrett@familynetwork.com>
To: pgsql-admin@postgresql.org
Subject: pqReadData() -- backend closed the channel unexpectedly.
Date: Fri, 25 May 2001 11:30:13 -0400
Message-ID: <9elu6k$1p4i$1@news.tht.net> (raw)

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 <either tablename> 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





view thread (4+ messages)  latest in thread

Message-ID: <9elu6k$1p4i$1@news.tht.net>
Permalink:  ../9elu6k$1p4i$1@news.tht.net/
Also on:    postgresql.org/message-id/9elu6k$1p4i$1@news.tht.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jbarrett@familynetwork.com
  Subject: Re: pqReadData() -- backend closed the channel unexpectedly.
  In-Reply-To: <9elu6k$1p4i$1@news.tht.net>
  References: <9elu6k$1p4i$1@news.tht.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox