Hi,
> Thanks for reporting this issue, this is addressed in the v3 version
> patch attached.
> Apart from this, Dilip's comments from [1] and [2] have also been
> handled in this.
Thanks for updating the patch. I cannot find issues for now, here are some minor
comments. It might be matter of taste, feel free to reject if you are not happy.
01.
```
+ clt_col = PQnfields(res) - 1;
+ ncols = clt_col - 1;
``
I think this might not be clear, because clt_col shows the location but ncols
means the number of columns of the result table. How about clarifying like
below?
```
/* Use the last result column for the conflict log table footer */
clt_col = PQnfields(res) - 1;
/* Exclude two columns, used for the title and footer */
ncols = PQnfields(res) - 2;
```
02.
```
for (int i = 0; i < PQntuples(res); i++)
...
for (int j = 1; j < clt_col; j++)
```
I prefer row/col pair than i/j.
Best regards,
Hayato Kuroda
FUJITSU LIMITED