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