Re: Large queries - again...

From: "Steve Howe" <howe(at)carcass(dot)dhs(dot)org>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Large queries - again...
Date: 2001-07-21 05:21:56
Message-ID: 000501c111a5$0f677900$7e31b0c8@angla
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


----- Original Message -----
From: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Steve Howe" <howe(at)carcass(dot)dhs(dot)org>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>; <pgsql-hackers(at)postgresql(dot)org>
Sent: Saturday, July 21, 2001 1:39 AM
Subject: Re: [HACKERS] Large queries - again...

>
> OK, I just applied a patch to add the final fixes to Win32 libpq.
> Please try the CVS or later snapshot to see how it works. The patch
> suggested adding
>
> #define snprintf _snprintf
>
> to win32.h and I have done that. There was already one there for
> vsnprintf. I am quite confused about the elog() mention. I don't see
> where we added a call to elog() in the past day. I only see two
> mentions of elog in the code, both it dllist.c. They don't use elog()
> if you define FRONTEND. Please do -DFRONTEND on the compile line. I
> think this will give you a good library binary.

I did it, but that brings other dependency problems (see below). I think
it's better to properly fix the elog issue... :-)
----------------------------------------------------------------------------
--------------------------------------------
C:\ttt\src>nmake -f win32.mak

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

cd include
if not exist config.h copy config.h.win32 config.h
cd ..
cd interfaces\libpq
nmake /f win32.mak

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nma01700.
dllist.c
..\..\backend\lib\dllist.c(20) : fatal error C1083: Cannot open include
file: 'sysexits.h': No such
file or directory
----------------------------------------------------------------------------
--------------------------------------------
> Let us know how the new code works. The most recent patch I just
> applied was tested by a user and it worked well for him. Nice to have
> this resolved. I can mark this TODO item as done:
>
> * -Fix libpq to properly handle socket failures under native MS
> Win32 [libpq]
I want this fixed more then anybody else i the world, believe me :-)

Best Regards,
Steve Howe

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Darren Johnson 2001-07-21 05:58:26 Re: IDEA: Multi-master replication possible through spread (or even master-slave)...
Previous Message Sean Chittenden 2001-07-21 05:12:04 Re: IDEA: Multi-master replication possible through spread (or even master-slave)...