Re: Shapes on the regression test for polygon

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Shapes on the regression test for polygon
Дата
Msg-id CA+Tgmob=GHx81nuA9NC4YHRQ4yoG9S+Fi=6ckO7xjgK-ysq=jw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Shapes on the regression test for polygon  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Shapes on the regression test for polygon  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Wed, Jul 23, 2014 at 4:06 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> On Mon, Jul 21, 2014 at 10:52 AM, Emre Hasegeli <emre@hasegeli.com> wrote:
>>> The first two shapes on src/test/regress/sql/polygon.sql do not make
>>> sense to me.
>
>> Well, I think the number of tabs that makes them look best depends on
>> your tab-stop setting.  At present, I find that with 8-space tabs
>> things seem to line up pretty well, whereas with your patch, 4-space
>> tabs line up well.
>
> Perhaps we should expand tabs to spaces in those ascii-art diagrams?
>
>> Personally, though, my vote would be to just leave it the way it is.
>> I don't think there's really a problem here in need of solving.
>
> I concur with doubting that changing the actual regression test cases
> is a good thing to do, at least not without more analysis.  But "the
> pictures make no sense with the wrong tab setting" is a pretty simple
> issue, and one that I can see biting people.

AFAICT, the pictures make no sense with the right tab setting, either.
The possibility that someone might use the wrong tab setting is just
icing on the cake.

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



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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: Making joins involving ctid work for the benefit of UPSERT
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Making joins involving ctid work for the benefit of UPSERT