Re: pgsql: Add comments about why errno is set to zero.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Add comments about why errno is set to zero.
Дата
Msg-id 16974.1133470414@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Add comments about why errno is set to zero.  (momjian@postgresql.org (Bruce Momjian))
Список pgsql-committers
momjian@postgresql.org (Bruce Momjian) writes:
> Log Message:
> -----------
> Add comments about why errno is set to zero.

These comments seem a bit wrongheaded, since "checking
LONG_MIN/LONG_MAX" is exactly not what we could do to detect an overflow
error.

            regards, tom lane

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Retry in FileRead and FileWrite if Windows returns
Следующее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Comment "errno = 0" in a more generic way.