Re: Long paths for tablespace leads to uninterruptible hang in Windows - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Long paths for tablespace leads to uninterruptible hang in Windows
Date
Msg-id 5651.1381771809@sss.pgh.pa.us
Whole thread Raw
In response to Re: Long paths for tablespace leads to uninterruptible hang in Windows  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Long paths for tablespace leads to uninterruptible hang in Windows
Re: Long paths for tablespace leads to uninterruptible hang in Windows
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Oct 10, 2013 at 9:34 AM, Amit Kapila <amit.kapila16@gmail.com> wrote:
>> On further analysis, I found that hang occurs in some of Windows
>> API(FindFirstFile, RemoveDirectroy) when symlink path
>> (pg_tblspc/spcoid/TABLESPACE_VERSION_DIRECTORY) is used in these
>> API's. For above testcase, it will hang in path
>> destroy_tablespace_directories->ReadDir->readdir->FindFirstFile

> Well, that sucks.  So it's a Windows bug.

It's not clear to me that we should do anything about this at all,
except perhaps document that people should avoid long tablespace
path names on an unknown set of Windows versions.  We should not
be in the business of working around any and every bug coming out
of Redmond.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Patch for reserved connections for replication users
Next
From: Tom Lane
Date:
Subject: Re: buildfarm failures on smew and anole