Re: simple update closes connection. why?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: joseph speigle <joe(dot)speigle(at)jklh(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: simple update closes connection. why?
Date: 2004-02-01 02:43:28
Message-ID: 10921.1075603408@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

joseph speigle <joe(dot)speigle(at)jklh(dot)us> writes:
> this simple update closes the connection.

My first guess is there's some data corruption in the table or one of
its indexes. It would be useful to get a stack trace showing where
in the backend the core dump occurs --- can you manage that?

Other things to check: can you do a "select * from calling" without
crashing? What shows up in the postmaster log when the crash occurs?

If you just want to fix the database ASAP, you could try a REINDEX
on the table --- if the problem is in the indexes that should get
rid of it. But it would also destroy the evidence of exactly what
went wrong.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Lynn.Tilby 2004-02-01 06:47:05 "NULL value without indicator"
Previous Message joseph speigle 2004-02-01 02:02:41 Re: simple update closes connection. why?