Skip site navigation (1) Skip section navigation (2)

Re: SQLDA fix for ECPG

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
Cc: PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>,Michael Meskes <meskes(at)postgresql(dot)org>,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: SQLDA fix for ECPG
Date: 2011-12-03 20:49:25
Message-ID: 20111203204925.GA10338@feivel.credativ.lan (view raw, whole thread or download thread mbox)
Lists: 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 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

In response to

pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2011-12-03 20:53:43
Subject: Re: [REVIEW] Patch for cursor calling with named parameters
Previous:From: Tom LaneDate: 2011-12-03 18:36:04
Subject: Re: Inlining comparators as a performance optimisation

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group