pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mikhail Ts <ts_mike@yahoo.ca>
To: pgsql-interfaces@postgresql.org
Subject: PostgreSQL 7.4.2 libpq problem
Date: Fri, 2 Apr 2004 01:26:16 -0500 (EST)
Message-ID: <20040402062616.97508.qmail@web13503.mail.yahoo.com> (raw)

Hi,
I'm experiencing strange problem - when Exim 4.31 MTA makes a call to
PostgreSQL DB I get following in gdb: "Program received signal SIGINT,
Interrupt." Execution goes somewhere without trace in any log. I asked
on Exim lists without much luck. One of the reasons - this Exim
installation works just fine against MySQL DB. Another - Exim works
fine with PostgreSQL as well when Exim is run in debug mode. It only
crashes when it is run as standalone daemon. PostgreSQL log shows
normal queries without errors. I also have Courier IMAP server working
with the same PostgreSQL DB without problems. I compared source and
couldn't see significant difference in implementation. In both cases
libpq linked as shared library. I've found that Exim crashes at the
PQexec call with PGconn being checked by PQstatus line before. If I
comment PQexec call out - everything goes fine except DB data of
course. Questions:
1. How to get information on what exactly crashes?
2. Any idea how the place where function is called can either crash it
or continue normally?

I rebuilt/cleaned both programs more then once with the same result.
Find doesn't find libpq in any other place except pgsql directory. OS -
Debian Linux 2.2.20.

Mikhail.

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca



Message-ID: <20040402062616.97508.qmail@web13503.mail.yahoo.com>
Permalink:  ../20040402062616.97508.qmail@web13503.mail.yahoo.com/
Also on:    postgresql.org/message-id/20040402062616.97508.qmail@web13503.mail.yahoo.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: ts_mike@yahoo.ca
  Subject: Re: PostgreSQL 7.4.2 libpq problem
  In-Reply-To: <20040402062616.97508.qmail@web13503.mail.yahoo.com>

* 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