Re: Invalid YAML output from EXPLAIN

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Invalid YAML output from EXPLAIN
Дата
Msg-id AANLkTik7H2ppgN0iLHixfeEw9Kqywxz2ApTs2HhzU5Tf@mail.gmail.com
обсуждение исходный текст
Ответ на Invalid YAML output from EXPLAIN  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: Invalid YAML output from EXPLAIN
Список pgsql-bugs
On Wed, Jun 9, 2010 at 3:50 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Dean Rasheed <dean.a.rasheed@gmail.com> writes:
>> Hmm. Well it's quite subjective, but IMO it's already more readable
>> than JSON regardless of whether or not values are quoted, simply
>> because it doesn't have [ ] and { } for lists and maps, which for JSON
>> adds significantly to the number of lines in longer plans.
>
> Yeah. =A0Also, I think it would be fair to not quote values that are known
> constants (for example, Node Type: Seq Scan) and are chosen to not need
> quoting. =A0It's just the things that are variables that worry me.

Passing down information about which things are known constants seems
more complicated to me than just getting the quoting rules right in
the first place.  If you look at the patch I proposed, you'll see that
it's really quite simple and only a slight tightening of what I
committed already.

--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

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

Предыдущее
От: Joel Henrique
Дата:
Сообщение: Re: BUG #5475: Problem during Instalation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Invalid YAML output from EXPLAIN