win32 fixes

From: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
To: "'pgsql-patches(at)postgresql(dot)org'" <pgsql-patches(at)postgresql(dot)org>
Subject: win32 fixes
Date: 2004-04-13 06:17:03
Message-ID: A02DEC4D1073D611BAE8525405FCCE2B55F3F4@harris.memetrics.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


For application to HEAD, following community review.

* Most changes are to fix warnings issued when compiling win32
* removed a few redundant defines
* get_user_name safe under win32
* rationalized pipe read EINTR for win32
* changed all backend instances of sleep() to pg_usleep
- except for the SLEEP_ON_ASSERT in assert.c, as it would exceed a
32-bit long [Note to patcher: If a SLEEP_ON_ASSERT of 2000 seconds is
acceptable, please replace with pg_usleep(2000000000L)]

---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

Attachment Content-Type Size
diff.patch application/octet-stream 23.1 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Claudio Natoli 2004-04-13 07:10:01 Re: win32 fixes
Previous Message Bruce Momjian 2004-04-13 04:20:14 Updated COPY CSV patch