pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: L Bayuk <lbayuk@pobox.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: BCC55 and libpq 8.2
Date: Tue, 9 Jan 2007 19:41:00 -0500
Message-ID: <20070110004100.GA367@mail.mindspring.com> (raw)
In-Reply-To: <200701090348.l093m2w03835@momjian.us>
References: <20070109003408.GA341@mail.mindspring.com>
	<200701090348.l093m2w03835@momjian.us>

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.



view thread (16+ messages)  latest in thread

Message-ID: <20070110004100.GA367@mail.mindspring.com>
Permalink:  ../20070110004100.GA367@mail.mindspring.com/
Also on:    postgresql.org/message-id/20070110004100.GA367@mail.mindspring.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lbayuk@pobox.com, bruce@momjian.us
  Subject: Re: BCC55 and libpq 8.2
  In-Reply-To: <20070110004100.GA367@mail.mindspring.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox