Re: libpq Win32 Mutex performance patch

Поиск
Список
Период
Сортировка
От Andrew Chernow
Тема Re: libpq Win32 Mutex performance patch
Дата
Msg-id 47FFDD97.4070009@esilo.com
обсуждение исходный текст
Ответ на Re: libpq Win32 Mutex performance patch  (Andrew Chernow <ac@esilo.com>)
Ответы Re: libpq Win32 Mutex performance patch
Список pgsql-patches
Andrew Chernow wrote:
> Tom Lane wrote:
>> Silently not locking is surely
>> not very safe.
>>
>
> Here is the dump code version of the patch.  If anyone wants the return
> value idea, let me know.
>
>
> ------------------------------------------------------------------------
>
>

A more graceful solution would be to print something to stderr and then
exit.  This allows an app's atexit funcs to run.  I don't think libpq
should core dump an app by choice.  I'd be pretty upset if a library I
was using core dumped in some cases rather than exiting.

andrew

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