Re: Strange Bug in exim4 postgresql lookup code or libpq?

From: Alexander Neumann <alexander(at)bumpern(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Strange Bug in exim4 postgresql lookup code or libpq?
Date: 2005-09-16 00:14:03
Message-ID: 20050916001403.GD4794@bigbird.hoffentlich.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

* Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Alexander Neumann <alexander(at)bumpern(dot)de> writes:
> > In short terms: The result code is PGRES_FATAL_ERROR, but the error message
> > is an empty string.
> AFAIK that shouldn't happen, unless perhaps you are completely out of
> memory in the client-side process. What shows up in the postmaster
> error log when this occurs?

=================<snip>========================
2005-09-01 18:19:01 [5462] LOG: connection received: host=127.0.0.1 port=41446
2005-09-01 18:19:01 [5462] LOG: connection authorized: user=exim database=pfauadmin
2005-09-01 18:19:01 [5462] LOG: statement: SELECT domain || ' : ' FROM exim_virtual_domains
2005-09-01 18:19:01 [5462] LOG: statement: SELECT sa_enable FROM exim_virtual_addresses WHERE domain = 'xxxx.org' AND (mailbox = 'xxxxxxxxx' OR mailbox = '*') ORDER BY mailbox DESC LIMIT 1
2005-09-01 18:19:01 [5462] LOG: statement: SELECT sa_tempreject_score FROM exim_virtual_addresses WHERE domain = 'xxxx.org' AND (mailbox = 'xxxxxxxxx' OR mailbox = '*') ORDER BY mailbox DESC LIMIT 1
2005-09-01 18:19:01 [5462] LOG: unexpected EOF on client connection
=================<snip>========================

The first query succeeds, the second fails. Both work and deliver exactly
the results as expected, when cut&pasted from the logs (either exim or
postgresql)...

Thanks for reading,
- Alexander

In response to

Browse pgsql-general by date

  From Date Subject
Next Message ngoncalves81@cantv.net 2005-09-16 00:43:51 ERROR from backend during send_query: 'ERROR: cursor "sql_cur0140cc48" does not exist'
Previous Message Alexander Neumann 2005-09-16 00:11:54 Re: Strange Bug in exim4 postgresql lookup code or libpq?