Received: from alert.infoplease.com (range.infoplease.com [208.222.166.25]) by hub.org (8.9.3/8.9.3) with ESMTP id PAA71589 for ; Tue, 4 Jan 2000 15:02:03 -0500 (EST) (envelope-from kdebisschop@range.infoplease.com) Received: from skillet.infoplease.com (skillet [10.0.1.212]) by alert.infoplease.com (8.9.3+Sun/8.9.3) with ESMTP id PAA06425 for ; Tue, 4 Jan 2000 15:01:30 -0500 (EST) Received: (from kdebisschop@localhost) by skillet.infoplease.com (8.9.3/8.9.1) id PAA29174; Tue, 4 Jan 2000 15:01:32 -0500 Date: Tue, 4 Jan 2000 15:01:32 -0500 Message-Id: <200001042001.PAA29174@skillet.infoplease.com> X-Authentication-Warning: skillet.infoplease.com: kdebisschop set sender to kdebisschop@spaceheater.infoplease.com using -f From: Karl DeBisschop To: pgsql-bugs@postgreSQL.org In-reply-to: <8703.945457153@sss.pgh.pa.us> (message from Tom Lane on Fri, 17 Dec 1999 13:59:13 -0500) Subject: Re: [BUGS] problem creating index in 6,5,3 Reply-to: kdebisschop@range.infoplease.com References: <8703.945457153@sss.pgh.pa.us> > From: Tom Lane > > Karl DeBisschop writes: > > The problem manifests itself as > > > webusers=> CREATE INDEX zdaily_id ON daily (id); > > pqReadData() -- backend closed the channel unexpectedly. > > This probably means the backend terminated abnormally > > before or while processing the request. > > Is a corefile dumped in the database directory when this happens? > If so, can you get a backtrace from it with gdb? > > > This did work for us using 6.5.1 compiled in house. Our problems > > started with the 6.5.3 RPM. > > Hmm. We have been seeing some reports recently of other odd behavior > with the Linux RPMs (see the "ordering RH6.1" thread on pgsql-hackers). > Would you take the time to compile 6.5.3 from source and see if you > still see the same behavior? > > If you do this, please compile the backend with full debug+assert > support, which is to say > (a) add --enable-cassert to the configure command; > (b) do make COPT=-g all instead of just make all. > That should make the gdb backtrace a lot more informative, if > a coredump happens... Finally got a tiny little error message: sterno.infoplease.com:/u/kdebisschop> psql -p 5433 webusers -c "CREATE INDEX zdaily_id ON daily (id)" pqReadData() -- backend closed the channel unexpectedly. This probably means the backend terminated abnormally before or while processing the request. We have lost the connection to the backend, so further processing is impossible. Terminating. [2]+ Done psql -p 5433 webusers -c "CREATE INDEX zdaily_date_n ON daily (date,n)" sterno.infoplease.com:/u/kdebisschop> psql -p 5433 webusers -c "CREATE INDEX zdaily_id ON daily USING hash (id)" ERROR: cannot open segment 1 of relation zdaily_id sterno.infoplease.com:/u/kdebisschop> Still no core dump. Each of these takes an hour or so to croak. Any ideas would be welcome. Karl DeBisschop