| От | pgsql@mohawksoft.com |
|---|---|
| Тема | Re: signed short fd |
| Дата | |
| Msg-id | 16674.24.91.171.78.1110803900.squirrel@mail.mohawksoft.com обсуждение исходный текст |
| Ответ на | Re: signed short fd (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: signed short fd
|
| Список | pgsql-hackers |
> >> Maybe we make the assumption that all OS will >> implement "fd" as an array index > > The POSIX spec requires open() to assign fd's consecutively from zero. > http://www.opengroup.org/onlinepubs/007908799/xsh/open.html With all due respect, PostgreSQL now runs natively on Win32. Having a POSIX-only mentality, especially with something so trivial, is a mistake. I would say "int" is the best way to handle it. You just *never* know.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера