From: Michael Meskes <meskes@postgresql.org>
To: nilesoien@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14267: ecpg bug causes hanging for certain data types
Date: Mon, 1 Aug 2016 07:15:51 +0200
Message-ID: <20160801051551.GA4672@feivel> (raw)
In-Reply-To: <20160727193042.7445.75871@wrigleys.postgresql.org>
References: <20160727193042.7445.75871@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Wed, Jul 27, 2016 at 07:30:42PM +0000, nilesoien@gmail.com wrote:
> The following bug has been logged on the website:
> ...
> We have a program that compiles with ecpg that seemed to hang until we
> changed the type of a variable from "unsigned long long" to be simply "long
> long int".
Thanks for finding this.
> We think we've tracked this down somewhat.
>
> It appears that there might be a defect in the guard statement that appears
> on lines 377 and 378 of data.c (in the ECPG C preprocessor in PG version
> ...
And more thanks for tracking it down. I have no idea why this ages old code is
still in there. Apparently not many people use unsigned long long. Anyway, a
fix will be pushed as soon as I'm online again.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: meskes@postgresql.org, nilesoien@gmail.com
Subject: Re: BUG #14267: ecpg bug causes hanging for certain data types
In-Reply-To: <20160801051551.GA4672@feivel>
References: <20160727193042.7445.75871@wrigleys.postgresql.org> <20160801051551.GA4672@feivel>
* 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