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

From Robert Haas
Subject Re: explain output infelicity in psql
Date
Msg-id 603c8f070912100908j3ea1d714l1e5eb5d147563e94@mail.gmail.com
Whole thread Raw
In response to Re: explain output infelicity in psql  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
List pgsql-hackers
On Thu, Dec 10, 2009 at 11:44 AM, Ron Mayer
<rm_pg@cheapcomplexdevices.com> wrote:
> Alvaro Herrera wrote:
>> Robert Haas escribió:
>>> On first blush, I'm inclined to suggest that the addition of + signs
>>> to mark continuation lines is a misfeature.
>>
>> EXPLAIN is a special case.  IMHO it should be dealt with accordingly.
>>
>
> Is it?
>
> Wouldn't it affect anyone who stuck XML in a txt column and wanted
> to copy and paste it into a parser?
>
> Perhaps single column output usually won't want the + signs (because
> it's copy&pasteable) but multi-column output could?

I don't think inconsistency is a good thing here.  Apparently the old
format is available via \pset linestyle old-ascii.  We can either
decide that people should use that format if they want that behavior,
or we can decide that changing the default was a mistake and revert
it.  I don't think a half-way-in-between solution is a good option.

...Robert


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: explain output infelicity in psql
Next
From: "Kevin Grittner"
Date:
Subject: Re: explain output infelicity in psql