Re: Some Problems - Shall I reinstall the DB?

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: vwu98034(at)lycos(dot)com
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Some Problems - Shall I reinstall the DB?
Date: 2011-01-31 21:30:09
Message-ID: 4D4729E1.6080005@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/31/2011 01:18 PM, vwu98034(at)lycos(dot)com wrote:
> The DB connection problem has nothing to do with Hibernate. As I have said that the problem can be solved by restarting the DB.
>This problem occurs with my application as well as DdVisualizer.

So know we know it is a generic connection problem. Is there information
in the Postgres logs that might be helpful?

>
> And as I have mentioned, the id error doesn't occur to other table.

Again is there any information generated in the logs when you try to
connect to that table? Another thing to check is whether the max id in
the table is greater then the last value for the sequence associated
with that table. Could be id(s) got inserted without using the sequence.

>

At this time reinstalling the DB would seem to be excessive. There is no
guarantee that the problem won't just appear again with out knowing what
is in the first place.

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

Browse pgsql-general by date

  From Date Subject
Next Message bricklen 2011-01-31 22:55:34 PD_ALL_VISIBLE flag was incorrectly set in relation "pg_statistic"
Previous Message Adrian Klaver 2011-01-31 20:53:52 Re: Some Problems - Shall I reinstall the DB?