Re: libpq thread locking during SSL connection start

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: libpq thread locking during SSL connection start
Дата
Msg-id 1376742151.4080.2.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: libpq thread locking during SSL connection start  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On Mon, 2013-08-12 at 10:49 -0400, Stephen Frost wrote:
> > Alternatively, if we want to just print an error message and
> proceed, we
> > should put the strerror based on the return value into the message.
>
> That could certainly be added.

Here is a patch for that.  I also adjusted the message wording to be
more in line with project style.

> Should we also be adding an
> error message+strerror in cases where pthread_mutex_unlock() fails for
> some reason?
>
Ideally yes, I think.  But it's probably less urgent, because it if
fails the next lock request will probably error?


Вложения

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

Предыдущее
От: Huang Bambo
Дата:
Сообщение: Re: [pgsql-zh-general] Chinese in Postgres
Следующее
От: Robert Haas
Дата:
Сообщение: Re: StrategyGetBuffer optimization, take 2