Re: Return value of PathNameOpenFile()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Return value of PathNameOpenFile()
Дата
Msg-id 3278205.1662493489@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Return value of PathNameOpenFile()  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: Return value of PathNameOpenFile()  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> Doh, of course.  The attached is a quick (lightly make check tested) take on
> allowing 0, but I'm not sure that's what we want?

Actually, wait a second.  At least some of these are not dealing
with kernel FDs but with our "virtual FD" abstraction.  For those,
zero is indeed an invalid value.  There might well be some "<= 0"
versus "< 0" errors in this area, but it requires closer inspection.

            regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: has_privs_of_role vs. is_member_of_role, redux
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Adding CI to our tree