Re: Long paths for tablespace leads to uninterruptible hang in Windows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Long paths for tablespace leads to uninterruptible hang in Windows
Дата
Msg-id 5651.1381771809@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Long paths for tablespace leads to uninterruptible hang in Windows  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Long paths for tablespace leads to uninterruptible hang in Windows  (Amit Kapila <amit.kapila16@gmail.com>)
Re: Long paths for tablespace leads to uninterruptible hang in Windows  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Patch for reserved connections for replication users
Следующее
От: Tom Lane
Дата:
Сообщение: Re: buildfarm failures on smew and anole