Re: RULE regression test fragility?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: RULE regression test fragility?
Дата
Msg-id CA+TgmoaTo_KCk3LNeiA_k=d3QiA1+kbQFT-7uqXfoT8KdwkQvQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: RULE regression test fragility?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Oct 28, 2013 at 12:34 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> ... we could leave the parentheses out in
>> whichever case it's equivalent to.
>
> Ah, I see what you're getting at now.  Yeah, that might be a useful
> readability improvement.
>
>> ... I fairly commonly
>> write queries that involve multiple UNION ALL branches and, no matter
>> how clever we are, having that lead to progressively deeper nesting at
>> each level is not going to look nice.
>
> Agreed.  I was wondering myself whether we couldn't fix things so that
> all the branches are indented the same, even with parens.

Hmm, yeah, maybe.  Not sure how ugly it'd be.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: "ktm@rice.edu"
Дата:
Сообщение: Re: Detection of nested function calls
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Detection of nested function calls