RC1 on Native Win32 - patch required - Mailing list pgsql-patches

From Magnus Hagander
Subject RC1 on Native Win32 - patch required
Date
Msg-id 215896B6B5E1CF11BC5600805FFEA82104801C51@sirius.edu.sollentuna.se
Whole thread Raw
Responses Re: RC1 on Native Win32 - patch required
List pgsql-patches
Hello!

The following very short patch is required to make the native Win32 client
work with 7.1RC1. Without it, libpq works fine, but not psql.
Two things are patched:
1) mainloop.c, call to "pqsignal" is wrapped in #ifndef WIN32. All other
calls to pqsignal are already wrapped, so it shuold be safe.
2) config.h.win32 - added "#define HAVE_ATEXIT" since Win32 uses atexit()
and not on_exit().

I hope these can go in before release - it seems to me they are safe because
they affect only the native Win32 platform.

With this applied, client side on Win32 native can move to the "confirmed
working" list.

//Magnus

 <<win32_patch_RC1.diff>>

Attachment

pgsql-patches by date:

Previous
From: Ian Lance Taylor
Date:
Subject: Re: [HACKERS] docs toolchain appears broke?
Next
From: Larry Rosenman
Date:
Subject: Re: [HACKERS] docs toolchain appears broke?