postgresql/src/test
Tom Lane fec1ad94df Include typmod when complaining about inherited column type mismatches.
MergeAttributes() rejects cases where columns to be merged have the same
type but different typmod, which is correct; but the error message it
printed didn't show either typmod, which is unhelpful.  Changing this
requires using format_type_with_typemod() in place of TypeNameToString(),
which will have some minor side effects on the way some type names are
printed, but on balance this is an improvement: the old code sometimes
printed one type according to one set of rules and the other type according
to the other set, which could be confusing in its own way.

Oddly, there were no regression test cases covering any of this behavior,
so add some.

Complaint and fix by Amit Langote
2015-12-26 13:41:29 -05:00
..
examples Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
isolation Fix errors in commit a04bb65f70. 2015-09-30 23:37:26 -04:00
locale Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
mb Fix broken multibyte regression tests. 2015-08-09 11:05:53 +09:00
modules Message style improvements 2015-10-28 20:38:36 -04:00
perl Avoid odd portability problem in TestLib.pm's slurp_file function. 2015-12-08 16:58:05 -05:00
regress Include typmod when complaining about inherited column type mismatches. 2015-12-26 13:41:29 -05:00
ssl Refactor Perl test code 2015-12-02 18:46:16 -03:00
thread Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
Makefile Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00