Re: Feature request: Logging SSL connections - Mailing list pgsql-hackers

From Marko Kreen
Subject Re: Feature request: Logging SSL connections
Date
Msg-id 20131208092737.GB10349@gmail.com
Whole thread Raw
In response to Re: Feature request: Logging SSL connections  ("Dr. Andreas Kunert" <kunert@cms.hu-berlin.de>)
Responses Re: Feature request: Logging SSL connections
List 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 by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: plpgsql_check_function - rebase for 9.3
Next
From: Kohei KaiGai
Date:
Subject: Re: shared memory message queues