Re: [HACKERS] Problems with whitespace-ignoring diff options

2003-11-01 Thread Greg Stark
Tom Lane <[EMAIL PROTECTED]> writes: > However, if a test fails, it is quite likely that a whitespace-sensitive > diff will produce many lines of uninteresting diff, because of psql's habit > of justifying column output Perhaps the regression tests should just do \pset format unaligned ? -- gr

Re: [HACKERS] Problems with whitespace-ignoring diff options

2003-10-31 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > It appears we must not use the options for determining whether the test > failed, only for creating the diff output. Or does anyone have a better > idea? AFAIK, there is no reason to ignore whitespace in determining whether a test succeeded. However

[HACKERS] Problems with whitespace-ignoring diff options

2003-10-31 Thread Peter Eisentraut
On OpenBSD 3.4, the diff options -b and -w have the interesting feature (actually listed as a bug) that they ignore whitespace for preparing the diff, but the exit status will be 1 nonetheless, if the files are at all different. This leads to several failures in the current regression tests, becau