From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
---|---|
To: | Michael Meskes <meskes(at)postgresql(dot)org> |
Cc: | pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql: Several fixes to array handling in ecpg. |
Date: | 2014-04-09 10:50:18 |
Message-ID: | 20140409105018.GF4161@awork2.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
On 2014-04-09 12:46:35 +0200, Michael Meskes wrote:
> > > Several fixes to array handling in ecpg.
> >
> > What's actually fixed by this?
>
> There were a couple of reports that data got filled into array incorrectly and at least some of those were fixed by the patches.
It'd be useful to describe that in the commit...
> > The patch, or at least the comments, don't look entirely finished:
> > + /*
> > + * If siz i.e. the size of structure of which this variable is part of,
> > + * that gives the offset to the next element, if required
> > + */
>
> Not sure what you're trying to tell me here, other than that the wording is unclear.
To me that looks like somebody tried to rewrite a comment and stopped
somewhere in the middle. I don't think anybody trying to read that code
in the future is going to understand it.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2014-04-09 15:46:59 | pgsql: Add missing include. |
Previous Message | Michael Meskes | 2014-04-09 10:46:35 | Re: pgsql: Several fixes to array handling in ecpg. |