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

RC1 on Native Win32 - patch required

From: Magnus Hagander <mha(at)sollentuna(dot)net>
To: "'pgsql-patches(at)postgresql(dot)org'" <pgsql-patches(at)postgresql(dot)org>
Cc: "'Thomas Lockhart'" <lockhart(at)alumni(dot)caltech(dot)edu>
Subject: RC1 on Native Win32 - patch required
Date: 2001-03-26 09:16:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches

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.



Attachment: win32_patch_RC1.diff
Description: application/octet-stream (952 bytes)


pgsql-patches by date

Next:From: Larry RosenmanDate: 2001-03-26 11:13:39
Subject: Re: [HACKERS] docs toolchain appears broke?
Previous:From: Ian Lance TaylorDate: 2001-03-26 07:04:53
Subject: Re: [HACKERS] docs toolchain appears broke?

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