From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Use unaligned output in selected regression queries to reduce di |
Date: | 2013-10-26 15:25:10 |
Message-ID: | E1Va5ji-0008Op-Dp@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Use unaligned output in selected regression queries to reduce diff noise.
The rules regression test prints all known views and rules, which is a set
that changes regularly. Previously, a change in one rule would frequently
lead to whitespace changes across the entire output of this query, which is
painful to verify and causes undesirable conflicts between unrelated patch
sets. Use \a mode to improve matters. Also use \t mode to suppress the
total-rows count, which was also a source of unnecessary patch conflicts.
Likewise modify the output mode for the list of indexed tables generated
in sanity_check.sql. There might be other places where we should use this
idea, but these are the ones that have caused the most problems.
Andres Freund
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/9c339eb4f853e44c462f53587f69e4a11e89c09b
Modified Files
--------------
src/test/regress/expected/rules.out | 1936 ++++++++++++++--------------
src/test/regress/expected/sanity_check.out | 320 ++---
src/test/regress/sql/rules.sql | 7 +
src/test/regress/sql/sanity_check.sql | 7 +
4 files changed, 1140 insertions(+), 1130 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2013-10-28 02:58:52 | pgsql: Add large object functions catering to SQL callers. |
Previous Message | Tom Lane | 2013-10-25 21:42:35 | pgsql: Improve pqexpbuffer.c to use modern vsnprintf implementations ef |