Re: pgwin32_open returning EINVAL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgwin32_open returning EINVAL
Дата
Msg-id 18504.1196369019@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgwin32_open returning EINVAL  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: pgwin32_open returning EINVAL  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> I think a reasonable compromise is to turn the ereport() in _dosmaperr
> to DEBUG1 instead.  That way it won't clutter any log by default, and in
> the cases where we're actually interested in tracking the problematic
> situation, we don't need to get huge amounts of log traffic coming from
> other parts of the system.

I'm still not convinced what you think the problematic situation is.
It's already the case (and reasonable, I think) that _dosmaperr issues a
LOG message if it sees a GetLastError code it doesn't recognize; that
addresses the problem that this thread started with.  Why do we need to
make the success case chattier?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: CommandCounterIncrement versus plan caching
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: pgwin32_open returning EINVAL