Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitce3153f

Browse files
committed
Remove -w (--ignore-all-space) option from pg_regress's diff calls.
We have used -w for a long time as a means of reducing the reported diffvolume when one element of a result table isn't of the expected width.However, most of the time the results just pass anyway, so this isn't asimportant as it once was. Meanwhile, the risk of missing potentiallysignificant deviations has gone up, particularly with psql's ability toreport error cursor positions. So, let's switch over to space-sensitivecomparisons. Per my proposal of yesterday.(All the expected files that I can test here seem to be ready for thisalready, but we'll see what the buildfarm thinks about others.)
1 parent997a6a2 commitce3153f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/test/regress/pg_regress.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
14-
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.65 2009/11/14 15:39:36 mha Exp $
14+
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.66 2009/11/22 17:54:23 tgl Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -66,8 +66,8 @@ static char *shellprog = SHELLPROG;
6666
#endif
6767

6868
/* currently we can use the same diff switches on all platforms */
69-
constchar*basic_diff_opts="-w";
70-
constchar*pretty_diff_opts="-w -C3";
69+
constchar*basic_diff_opts="";
70+
constchar*pretty_diff_opts="-C3";
7171

7272
/* options settable from command line */
7373
_stringlist*dblist=NULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp