Re: fairywren hung in pg_basebackup tests

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: fairywren hung in pg_basebackup tests
Дата
Msg-id 3229f73c-50e6-69cc-6fc5-8905fde66a62@dunslane.net
обсуждение исходный текст
Ответ на Re: fairywren hung in pg_basebackup tests  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: fairywren hung in pg_basebackup tests  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
On 2022-07-27 We 10:58, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> The alternative I thought of would be to switch msys to using our
>> dirent.c. Probably not too hard, but certainly more work than reverting.
> If you ask me, the shortest-path general-purpose fix is to insert
>
> #if MSYS
>     if (pgwin32_is_junction(path))
>         return PGFILETYPE_DIR;
> #endif
>
> at the start of get_dirent_type.  (I'm not sure how to spell the
> #if test.)  We could look at using dirent.c later, but I think
> right now it's important to un-break the buildfarm ASAP.
>
>             



+1. I think you spell it:


#if defined(WIN32) && !defined(_MSC_VER)


(c.f. libpq-be.h)


cheers


andrew


--
Andrew Dunstan
EDB: https://www.enterprisedb.com




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: autoprewarm worker failing to load
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [Commitfest 2022-07] Patch Triage: Waiting on Author