Re: BUG #1600: Interrupt routine causes libPQ call to fail w/o error - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1600: Interrupt routine causes libPQ call to fail w/o error
Date
Msg-id 26570.1113699010@sss.pgh.pa.us
Whole thread Raw
In response to BUG #1600: Interrupt routine causes libPQ call to fail w/o error  ("David McClellan and Alun Prytherch" <David.McClellan@ateb.com>)
List pgsql-bugs
"David McClellan and Alun Prytherch" <David.McClellan@ateb.com> writes:
> We are using a Postgres database on Linux to service both a webapp and a
> backend process. The backend process is written in GCC-compile standard C,
> and uses libpq to query, insert and update records in the database. It is a
> pharmacy-service app, and also interfaces with DialLogic cards to make phone
> calls. The DialLogic cards support event-callback routines and will
> interrupt the background process with callbacks, even during the process's
> database calls.

Perhaps one of your interrupt routines tried to do something with the
database connection?  That certainly won't work safely.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: BUG #1601: removing columns
Next
From: "Guilherme Paiva"
Date:
Subject: Lib use.