Clean up ancient test style

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Clean up ancient test style
Дата
Msg-id 1a25312b-2686-380d-3c67-7a69094a999f@enterprisedb.com
обсуждение исходный текст
Ответы Re: Clean up ancient test style  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Many older tests where written in a style like

     SELECT '' AS two, i.* FROM INT2_TBL ...

where the first column indicated the number of expected result rows.
This has gotten increasingly out of date, as the test data fixtures
have expanded, so a lot of these don't match anymore and are misleading. 
  Moreover, this style isn't really necessary, since the psql output 
already shows the number of result rows.  (Perhaps this was different at 
some point?)

I'm proposing to clean all this up by removing all those extra columns.

The patch is very big, so I'm attaching a compressed version.  You can 
also see a diff oneline: 
https://github.com/postgres/postgres/compare/master...petere:test-cleanup

Вложения

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: On login trigger: take three
Следующее
От: Tom Lane
Дата:
Сообщение: Rethinking plpgsql's assignment implementation