Re: Feature request: Logging SSL connections

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: Feature request: Logging SSL connections
Дата
Msg-id 20131208092737.GB10349@gmail.com
обсуждение исходный текст
Ответ на Re: Feature request: Logging SSL connections  ("Dr. Andreas Kunert" <kunert@cms.hu-berlin.de>)
Ответы Re: Feature request: Logging SSL connections  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Fri, Dec 06, 2013 at 02:53:27PM +0100, Dr. Andreas Kunert wrote:
> >>Anything else missing?
> >
> >Functionally it's fine now, but I see few style problems:
> >
> >- "if (port->ssl > 0)" is wrong, ->ssl is pointer.  So use just
> >   "if (port->ssl)".
> >- Deeper indentation would look nicer with braces.
> >- There are some duplicated message, could you restructure it so that
> >   each message exists only once.
> 
> New version is attached. I could add braces before and after the
> ereport()-calls too, but then I need two more #ifdefs to catch the
> closing braces.

Thank you.  Looks good now.  I added it to next commitfest:
 https://commitfest.postgresql.org/action/patch_view?id=1324

-- 
marko




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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: plpgsql_check_function - rebase for 9.3
Следующее
От: Kohei KaiGai
Дата:
Сообщение: Re: shared memory message queues