Re: New Defects reported by Coverity Scan for PostgreSQL - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: New Defects reported by Coverity Scan for PostgreSQL
Date
Msg-id 20181115152033.4m3j2fsxohvahzak@alvherre.pgsql
Whole thread Raw
In response to Re: New Defects reported by Coverity Scan for PostgreSQL  (Emre Hasegeli <emre@hasegeli.com>)
List pgsql-hackers
On 2018-Nov-06, Emre Hasegeli wrote:

> > Surely the comment in line 3839 deserves an update :-)
> 
> Done.
> 
> > This seems good material.  I would put the detailed conventions comment
> > separately from the head of the file, like this (where I also changed
> > "Type1 *type1" into "Type1 *obj1", and a few "has" to "have")
> 
> Looks better to me.  I found one more "has" and changed it.

Pushed, with some further minor changes.  I decided not to remove the
redundant comments that your patch was removing, as I felt that it's
better to keep the API contract together with the function definition.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: James Coleman
Date:
Subject: Re: Index Skip Scan
Next
From: Nikita Glukhov
Date:
Subject: Re: [PATCH] Opclass parameters