Re: File truncation within PostgresNode::issues_sql_like() wrong on Windows

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: File truncation within PostgresNode::issues_sql_like() wrong on Windows
Дата
Msg-id YHfHxz15+TKjWvP2@paquier.xyz
обсуждение исходный текст
Ответ на Re: File truncation within PostgresNode::issues_sql_like() wrong on Windows  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: File truncation within PostgresNode::issues_sql_like() wrong on Windows
Список pgsql-hackers
On Wed, Apr 14, 2021 at 09:26:19PM -0400, Andrew Dunstan wrote:
> Well, let me try it on fairywren tomorrow. Since we manage this on the
> buildfarm without any use at all of Win32API::File it might not be
> necessary in TAP code either, particularly if we're not truncating the file.

Thanks.  If that proves to not be necessary, +1 to remove this code.
I have been playing with this stuff, and the attached patch seems to
work properly on Windows.  On top of that, I have also tested the
non-Win32 path on an MSVC box to see that it was working, but my
environment is not really noisy usually with such compatibility
issues.
--
Michael

Вложения

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: New IndexAM API controlling index vacuum strategies
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Can a child process detect postmaster death when in pg_usleep?