Re: pread() and pwrite()

Поиск
Список
Период
Сортировка
От Jesper Pedersen
Тема Re: pread() and pwrite()
Дата
Msg-id 983a8d48-64fa-e2f7-55c4-41e20bc51ef5@redhat.com
обсуждение исходный текст
Ответ на Re: pread() and pwrite()  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: pread() and pwrite()  (Thomas Munro <thomas.munro@enterprisedb.com>)
Re: pread() and pwrite()  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-hackers
Hi Thomas,

On 9/18/18 9:48 PM, Thomas Munro wrote:
> It certainly wouldn't hurt... but more pressing to get this committed
> would be Windows support IMHO.  I think the thing to do is to open
> files with the FILE_FLAG_OVERLAPPED flag, and then use ReadFile() and
> WriteFile() with an LPOVERLAPPED struct that holds an offset, but I'm
> not sure if I can write that myself.  I tried doing some semi-serious
> Windows development for the fsyncgate patch using only AppVeyor CI a
> couple of weeks ago and it was like visiting the dentist.
> 

Sorry, no idea about this. Maybe Magnus can provide some feedback ?

> On Thu, Sep 6, 2018 at 6:42 AM Jesper Pedersen
>> Once resolved the patch passes make check-world, and a strace analysis
>> shows the associated read()/write() have been turned into
>> pread64()/pwrite64(). All lseek()'s are SEEK_END's.
> 
> Yeah :-) 

Thanks for v5 too.

Best regards,
  Jesper



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

Предыдущее
От: Jesper Pedersen
Дата:
Сообщение: Re: Index Skip Scan
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Problem while setting the fpw with SIGHUP