X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B148B3A3D36 for ; Mon, 17 Jan 2005 16:01:33 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 17265-10 for ; Mon, 17 Jan 2005 16:01:25 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 34AD43A3D29 for ; Mon, 17 Jan 2005 16:01:24 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j0HG1L3Y002103; Mon, 17 Jan 2005 11:01:21 -0500 (EST) To: Robert D Oden Cc: PgSQL ADMIN Subject: Re: closed connection unexpectedly In-reply-to: <41EB9F98.5040008@dbasetek.com> References: <41EB9F98.5040008@dbasetek.com> Comments: In-reply-to Robert D Oden message dated "Mon, 17 Jan 2005 05:20:56 -0600" Date: Mon, 17 Jan 2005 11:01:20 -0500 Message-ID: <2102.1105977680@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/173 X-Sequence-Number: 16032 Robert D Oden writes: > I am trying to execute the following SQL: > create table rdo_tmp0 as > select distinct * > from rp_na_mm > where acct_no like '1%' > and acct_no >= '13873365' > This is the result I get: > DBD::Pg::db do failed: server closed the connection unexpectedly Apparently you've got some corrupted data in the rp_na_mm table. See the mail list archives concerning methods for tracking down corrupted data. regards, tom lane