Re: question on some code.

From: Chris Bowlby <excalibur(at)accesswave(dot)ca>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: question on some code.
Date: 2005-07-19 18:39:29
Message-ID: 6.2.1.2.0.20050719153858.01c1a938@mail.dreadnet.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Tom,

good to hear from you. It was my miss-understanding of what the code was
doing, not the issue with the compiler :>

At 03:22 PM 7/19/2005, Tom Lane wrote:
>Chris Bowlby <excalibur(at)accesswave(dot)ca> writes:
> > I understand the concept of the code, to append binary values to a string
> > buffer (char *), but, under my compiler on FreeBSD 5.4.x (gcc (GCC) 3.4.2
> > [FreeBSD] 20040728) I see a few issues that have cropped up.
>
>You've got a broken compiler then, because it certainly works for
>everyone else. That function's been substantially unchanged since
>... hmm ... version 1.1 of pqformat.c dated 25 Apr 1999. And I'm
>fairly sure that I got it from some older code rather than writing
>it from scratch when I made that file.
>
> > Through some testing that I've been doing (outputting the values in
> > the appendBinaryStringInfo function), I never seem to see any data, The
> > variable pointer that references the "n8, n16, or n32" value is not
> holding
> > any data in the appendBinaryStringInfo function.
>
>Define "never seem to see any data"...
>
> regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2005-07-19 18:40:25 Re: Patch to fix plpython on OS X
Previous Message Jim C. Nasby 2005-07-19 18:36:49 Re: Buildfarm issues on specific machines