pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karl DeBisschop <kdebisschop@range.infoplease.com>
To: pgsql-bugs@postgreSQL.org
Subject: Re: [BUGS] problem creating index in 6,5,3
Date: Tue, 4 Jan 2000 15:01:32 -0500
Message-ID: <200001042001.PAA29174@skillet.infoplease.com> (raw)
In-Reply-To: <8703.945457153@sss.pgh.pa.us>
References: <8703.945457153@sss.pgh.pa.us>


>   From: Tom Lane <tgl@sss.pgh.pa.us>
>
>   Karl DeBisschop <kdebisschop@range.infoplease.com> 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



view thread (9+ messages)  latest in thread

Message-ID: <200001042001.PAA29174@skillet.infoplease.com>
Permalink:  ../200001042001.PAA29174@skillet.infoplease.com/
Also on:    postgresql.org/message-id/200001042001.PAA29174@skillet.infoplease.com

 · 

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-general@postgresql.org
  Cc: kdebisschop@range.infoplease.com, pgsql-bugs@postgreSQL.org
  Subject: Re: [BUGS] problem creating index in 6,5,3
  In-Reply-To: <200001042001.PAA29174@skillet.infoplease.com>
  References: <8703.945457153@sss.pgh.pa.us> <200001042001.PAA29174@skillet.infoplease.com>

* 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