pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: kdebisschop@range.infoplease.com
Cc: pgsql-bugs@postgreSQL.org
Subject: Re: [BUGS] problem creating index in 6,5,3
Date: Thu, 06 Jan 2000 11:35:44 -0500
Message-ID: <21512.947176544@sss.pgh.pa.us> (raw)
In-Reply-To: <200001061535.KAA21794@skillet.infoplease.com>
References: <8703.945457153@sss.pgh.pa.us>
	<200001042001.PAA29174@skillet.infoplease.com>
	<14732.947023218@sss.pgh.pa.us>
	<200001061535.KAA21794@skillet.infoplease.com>

Karl DeBisschop <kdebisschop@range.infoplease.com> writes:
> Text field max size is 32 characters.

Drat, another good theory down the drain ;-)

I think it's time to start wheeling out the heavy artillery.  Do you
know how to use gdb?  I think we might be able to get some useful info
this way:

1. Start a postgres process running doing the CREATE INDEX.  Use ps to
determine the PID of the backend process.

2. gdb /usr/local/pgsql/bin/postgres (or whereever you keep the
executable).  You will need to run this as the postgres user.

3. In gdb:
		attach PID-of-backend-process
		break exit
		break _exit		(just belt and suspenders stuff)
		cont
(Depending on your system, it might not let you set a breakpoint at
exit, in which case try setting breaks at "proc_exit" and "quickdie".)

4. Wait for backend to fail.

5. If you hit any of the breakpoints, use "bt" to get a backtrace.
Otherwise, gdb should at least tell you what signal caused the program
to terminate ... which will be more info than we have now ...

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <21512.947176544@sss.pgh.pa.us>
Permalink:  ../21512.947176544@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21512.947176544@sss.pgh.pa.us

 · 

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

* 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