Re: explain output infelicity in psql - Mailing list pgsql-hackers

From Robert Haas
Subject Re: explain output infelicity in psql
Date
Msg-id 603c8f070912100957g7e373f8aj767720fd83d385b8@mail.gmail.com
Whole thread Raw
In response to Re: explain output infelicity in psql  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Thu, Dec 10, 2009 at 12:43 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
> Tom Lane wrote:
>>
>> Andrew Dunstan <andrew@dunslane.net> writes:
>>
>>>
>>> Yeah, I'm thinking we should probably suppress output of format.nl_right
>>> (no matter what the format) where there is only one column. (This is even
>>> uglier with unicode linestyle, btw). That's a sane rule and it's not an ugly
>>> hack.
>>>
>>
>> Yes it is.
>
> I don't see much virtue of having these characters when there is only one
> column.

I don't see much virtue in having these characters, period. The reason
for having them is presumably to avoid confusion between two rows and
one row with an embedded newline.  If anything, this confusion is more
likely with a single column than it is with multiple columns, since
you don't have the context of the surrounding output.

...Robert


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: explain output infelicity in psql
Next
From: Josh Berkus
Date:
Subject: Need --without-docs build switch