Re: [PATCHES] Another VPATH patch for ecpg

Поиск
Список
Период
Сортировка
От Joachim Wieland
Тема Re: [PATCHES] Another VPATH patch for ecpg
Дата
Msg-id 20060828210325.GC2826@mcknight.de
обсуждение исходный текст
Ответ на Re: [PATCHES] Another VPATH patch for ecpg  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCHES] Another VPATH patch for ecpg
Список pgsql-hackers
On Mon, Aug 28, 2006 at 12:16:40PM -0400, Tom Lane wrote:
> 122c122
> < #line 36 "show.pgc"

> AFAICS there is no very good way to deal with this.  I'd suggest
> providing a way to suppress #line output from the ecpg preprocessor,
> but perhaps there is another answer.

What about changing those lines before diffing the files? This is already
done for different default port settings in order to keep output files in
sync.

I append a small (untested) patch against pg_regress.sh.

Unfortunately, lines like this one in a non-VPATH build:

#line 1 "./../../include/sql3types.h"

would get stripped to `#line 1 "sql3types.h"' as well but I think this is
acceptable.


Joachim

--
Joachim Wieland                                              joe@mcknight.de
                                                           GPG key available

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: autovacuum causing numerous regression-test failures
Следующее
От: Tom Lane
Дата:
Сообщение: Re: tsvector/tsearch equality and/or portability issue