RULE regression test fragility?

Поиск
Список
Период
Сортировка
От Mike Blackwell
Тема RULE regression test fragility?
Дата
Msg-id CANPAkgunoTdgoJEvagr-+Rd0ABtbjywybYBnY6gNs7f_1HkaJw@mail.gmail.com
обсуждение исходный текст
Ответы Re: RULE regression test fragility?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
While reviewing the Network Stats Traffic patch I discovered the current regression test for rules depends on the system view definitions not changing:

--
-- Check that ruleutils are working
--
SELECT viewname, definition FROM pg_views WHERE schemaname <> 'information_schema' ORDER BY viewname;


In this particular case new fields have been added to the view, breaking this apparently unrelated test.  Is checking the definition of all views necessary for this test?  Would it possibly be better to create a temporary view for this check, or is something else going on here? 

​​
__________________________________________________________________________________
Mike Blackwell | Technical Analyst, Distribution Services/Rollout Management | RR Donnelley
1750 Wallace Ave | St Charles, IL 60174-3401
Office: 630.313.7818
Mike.Blackwell@rrd.com
http://www.rrdonnelley.com


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

Предыдущее
От: Sameer Kumar
Дата:
Сообщение: Re: Using indexes for ORDER BY and PARTITION BY clause in windowing functions
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Commitfest II CLosed