Return value of PathNameOpenFile()

Поиск
Список
Период
Сортировка
От Antonin Houska
Тема Return value of PathNameOpenFile()
Дата
Msg-id 5470.1662449168@antos.home
обсуждение исходный текст
Ответы Re: Return value of PathNameOpenFile()
Список pgsql-hackers
I've noticed that some callers of PathNameOpenFile()
(e.g. bbsink_server_begin_archive()) consider the call failed even if the
function returned zero, while other ones do check whether the file descriptor
is strictly negative. Since the file descriptor is actually returned by the
open() system call, I assume that zero is a valid result, isn't it?

-- 
Antonin Houska
Web: https://www.cybertec-postgresql.com



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Different compression methods for FPI
Следующее
От: "kuroda.hayato@fujitsu.com"
Дата:
Сообщение: RE: test_decoding assertion failure for the loss of top-sub transaction relationship