Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 318329FB259 for ; Tue, 9 Jan 2007 22:33:37 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 94025-04 for ; Tue, 9 Jan 2007 22:33:26 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) by postgresql.org (Postfix) with ESMTP id 25E5A9FB25A for ; Tue, 9 Jan 2007 22:33:32 -0400 (AST) Received: from [4.238.210.19] (helo=mindspring.com) by elasmtp-kukur.atl.sa.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1H4THN-00056z-98; Tue, 09 Jan 2007 21:33:31 -0500 Received: (from lbayuk@localhost) by mindspring.com (8.13.7/8.13.7) id l0A0f0vl000393; Tue, 9 Jan 2007 19:41:00 -0500 Date: Tue, 9 Jan 2007 19:41:00 -0500 From: L Bayuk To: Bruce Momjian Cc: pgsql-interfaces@postgresql.org Subject: Re: BCC55 and libpq 8.2 Message-ID: <20070110004100.GA367@mail.mindspring.com> References: <20070109003408.GA341@mail.mindspring.com> <200701090348.l093m2w03835@momjian.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200701090348.l093m2w03835@momjian.us> User-Agent: Mutt/1.4.2.2i X-ELNK-Trace: 7a0205cf9d42df0a5e89bb4777695beb69025943178dce0bd237db133c1d68bae675d4603d474084350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 4.238.210.19 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.194 tagged_above=0 required=5 tests=AWL, BAYES_50, DNS_FROM_RFC_ABUSE, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200701/13 X-Sequence-Number: 6391 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.