Re: Use of "long" in incremental sort code

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Use of "long" in incremental sort code
Дата
Msg-id CAH2-WzkjqYNBmrgR8v-jzMtUauVR_i7EqsGU4_gaWZsehiLzeg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Use of "long" in incremental sort code  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Jul 2, 2020 at 12:44 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > That's from POSIX, though. I imagine MSVC won't be happy (surprise!).
>
> We've got quite a few uses of it already, so apparently it's fine.

Oh, looks like we have a compatibility hack for MSVC within
win32_port.h, where ssize_t is typedef'd to __int64. I didn't realize
that it was okay to use ssize_t.

-- 
Peter Geoghegan



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

Предыдущее
От: James Coleman
Дата:
Сообщение: Re: Use of "long" in incremental sort code
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Use of "long" in incremental sort code