Re: Hang in PQgetResult

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ivetta Starikova" <ivetta_s(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Hang in PQgetResult
Date: 2004-02-20 21:16:05
Message-ID: 244.1077311765@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Ivetta Starikova" <ivetta_s(at)hotmail(dot)com> writes:
> I have a problem with my program that inserts records into postgreSQL
> database.
> After continuously running for several days, it suddenly hangs.

Looks to me like it's waiting for the server process. Are you sure
there isn't some other operation blocking the INSERT (perhaps by
exclusively locking the table)? If you're not sure what the server
is doing, try getting a stack trace from it.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Joe Sunday 2004-02-20 21:51:08 Re: Maybe a bug found with nextval() function
Previous Message Bruce Momjian 2004-02-20 20:46:22 Re: i have one doubt