Re: ignore $PostgreSQL lines in regression tests?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: ignore $PostgreSQL lines in regression tests?
Дата
Msg-id 48307946.6000800@dunslane.net
обсуждение исходный текст
Ответ на Re: ignore $PostgreSQL lines in regression tests?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>   
>> Recently while adding $PostgreSQL markers to a bunch of .c and .h files 
>> I ran into trouble with the ecpg regression tests and had to revert the 
>> change for a handful of files. However, it occurred to me that we could 
>> have pg_regress tell diff to ignore such lines, by passing it the 
>> arguments "-I  '\$PostgreSQL:' ", which would tell it to ignore 
>> additions or deletions of lines matching that regex.
>>     
>
>   
>> Would this be a good thing to do?
>>     
>
> I'm inclined to think not.  It's easy to think of scenarios where such
> a switch would mask errors.
>
>             
>   

OK.

cheers

andrew


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ignore $PostgreSQL lines in regression tests?
Следующее
От: David Fetter
Дата:
Сообщение: Re: [PATCHES] WITH RECURSIVE patch V0.1