win32 inode fix

From: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: win32 inode fix
Date: 2004-02-05 08:08:50
Message-ID: A02DEC4D1073D611BAE8525405FCCE2B55F2E4@harris.memetrics.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


For community review and application to HEAD; minor patch.

Under Win32, stat() returns an st_ino field, but it has no meaning (on
Win2K, and possibly all Win32 variants, it is always 0). This causes a
number of problems in the dfmgr.c logic, which basically all revolve around
the fact that *any* two files will appear to have the same inode.

Note also that this solves the current issues related to initdb under Win32.

---
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
diff9c-inode.out application/octet-stream 1.4 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Claudio Natoli 2004-02-05 13:27:34 CYGWIN correction; ipci rationalization
Previous Message Joe Conway 2004-02-05 04:57:37 Re: pg_generate_sequence and info_schema patch (Was: SELECT