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

Re: BCC55 and libpq 8.2

From: L Bayuk <lbayuk(at)pobox(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: BCC55 and libpq 8.2
Date: 2007-01-10 00:41:00
Message-ID: 20070110004100.GA367@mail.mindspring.com (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-patches
On Mon, Jan 08, 2007 at 10:48:02PM -0500, Bruce Momjian wrote:
> > 
> > I think I was wrong. According to the Borland Linker documentation, -c
> > defaults on (case sensitive). But when I link without -c, it warns about
> > pqFlush vs PQflush.  Confusing. I'm going to try it again, both ways.
> 
> Ah, interesting.
> 
> > Why are there two functions anyway? I suppose historical reasons.
> > Since PQflush(c) is { return pqFlush(c); } I guess if the linker gets
> > the case thing wrong we loop until overrunning the stack.
> 
> Yes, I assume historical, so feel free to add -c, but add a
> documentation comment about it so we remember.

On closer look I saw that the warning about pqFlush vs PQflush was from the
library tool (TLIB), not the linker. The linker is apparently
case-sensitive by default, so there is no need for -c there. As to the
library tool, the help file says it is not case sensitive, -c makes it so,
but there is a warning against its use.  Since it seems to work as is (no
-c) I think it is best to leave it alone.

In response to

pgsql-patches by date

Next:From: Bruce MomjianDate: 2007-01-10 00:41:35
Subject: Re: [HACKERS] SGML index build fix
Previous:From: Peter EisentrautDate: 2007-01-10 00:25:19
Subject: Re: [HACKERS] SGML index build fix

pgsql-interfaces by date

Next:From: Jan van der WeijdeDate: 2007-01-11 10:30:48
Subject: How do I detect End-of-table or End-of-limit ?
Previous:From: Brijesh ShrivastavDate: 2007-01-09 21:51:01
Subject: Re: Inserting data a UDT in binary format using LIBPQ

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