From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | nilesoien(at)gmail(dot)com |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #14267: ecpg bug causes hanging for certain data types |
Date: | 2016-08-01 05:15:51 |
Message-ID: | 20160801051551.GA4672@feivel |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Wed, Jul 27, 2016 at 07:30:42PM +0000, nilesoien(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Jens.Wilke | 2016-08-01 08:43:43 | missing comment in lwlock.c |
Previous Message | tylerjtomlinson | 2016-08-01 04:13:34 | BUG #14272: baseurl is wrong in pgdg-96-redhat.repo |