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

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 (view raw or flat)
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: diff9c-inode.out
Description: application/octet-stream (1.4 KB)

Responses

pgsql-patches by date

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

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