Re: explain output infelicity in psql

Поиск
Список
Период
Сортировка
От Roger Leigh
Тема Re: explain output infelicity in psql
Дата
Msg-id 20091210132954.GC3338@codelibre.net
обсуждение исходный текст
Ответ на Re: explain output infelicity in psql  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: explain output infelicity in psql
Список pgsql-hackers
On Thu, Dec 10, 2009 at 10:12:32AM -0300, 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.
>
> -1
>
> EXPLAIN is a special case.  IMHO it should be dealt with accordingly.

If the formatting code can be taught that it's outputting for explain,
we can skip the wrap/newline markup easily.  I don't think we
necessarily need to fall back to the old-ascii format, we just
conditionally disable that specific part.

Alternatively, would it make more sense just to add a boolean pset
parameter to enable/disable the use of wrap/newline marks?  It may
be that people may wish to disable it for use cases in addition
to EXPLAIN.


Regards,
Roger

--  .''`.  Roger Leigh: :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/`. `'   Printing on
GNU/Linux?      http://gutenprint.sourceforge.net/  `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail. 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: explain output infelicity in psql
Следующее
От: Filip Rembiałkowski
Дата:
Сообщение: Re: strange segfault with 8.3.8