Re: [HACKERS] double counting of lines in psql

2014-11-18 Thread Andrew Dunstan
On 11/18/2014 10:43 AM, David Fetter wrote: On Mon, Nov 17, 2014 at 11:13:15AM -0500, Andrew Dunstan wrote: This tiny change fixes what I think is a longstanding bug in psql. I causes the first line of every cell to be counted twice, whereas it should in fact be excluded from extra_lines / extr

Re: [HACKERS] double counting of lines in psql

2014-11-18 Thread David Fetter
On Mon, Nov 17, 2014 at 11:13:15AM -0500, Andrew Dunstan wrote: > > This tiny change fixes what I think is a longstanding bug in psql. I causes > the first line of every cell to be counted twice, whereas it should in fact > be excluded from extra_lines / extra_row_output_lines. The bug appears to

[HACKERS] double counting of lines in psql

2014-11-17 Thread Andrew Dunstan
This tiny change fixes what I think is a longstanding bug in psql. I causes the first line of every cell to be counted twice, whereas it should in fact be excluded from extra_lines / extra_row_output_lines. The bug appears to date back to commit 43ee2282 in 2008. Changing it appears to make m