Re: SQLDA fix for ECPG - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: SQLDA fix for ECPG
Date
Msg-id 20111203204925.GA10338@feivel.credativ.lan
Whole thread Raw
In response to Re: SQLDA fix for ECPG  (Boszormenyi Zoltan <zb@cybertec.at>)
List pgsql-hackers
On Sat, Nov 19, 2011 at 10:56:03PM +0100, Boszormenyi Zoltan wrote:
> Hopefully last turn in this topic. For NUMERIC types, the safe minimum
> alignment is a pointer because there are 5 int members followed by
> two pointer members in this struct. I got a crash from this with a lucky
> query and dataset. The DECIMAL struct is safe because the digits[] array
> is embedded there.
> ...

Applied, thanks.

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Command Triggers
Next
From: Alvaro Herrera
Date:
Subject: Re: Review: Non-inheritable check constraints