postgresql/src/backend
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
..
access Fix brin_summarize_new_values() to check index type and ownership. 2015-12-26 12:56:09 -05:00
bootstrap pgindent run for 9.5 2015-05-23 21:35:49 -04:00
catalog Adjust behavior of single-user -j mode for better initdb error reporting. 2015-12-17 19:34:15 -05:00
commands Include typmod when complaining about inherited column type mismatches. 2015-12-26 13:41:29 -05:00
executor Read from the same worker repeatedly until it returns no tuple. 2015-12-23 14:06:52 -05:00
foreign Code review for foreign/custom join pushdown patch. 2015-05-10 14:36:36 -04:00
lib Avoid use of float arithmetic in bipartite_match.c. 2015-08-23 13:02:18 -04:00
libpq Message improvements 2015-11-16 21:39:23 -05:00
main Revoke support for strxfrm() that write past the specified array length. 2015-07-08 20:44:21 -04:00
nodes Remove unnecessary escaping in C character literals 2015-12-22 22:43:46 -05:00
optimizer Change Gather not to use a physical tlist. 2015-12-23 13:41:06 -05:00
parser Allow omitting one or both boundaries in an array slice specifier. 2015-12-22 21:05:29 -05:00
po Translation updates 2015-06-28 23:56:55 -04:00
port On Windows, ensure shared memory handle gets closed if not being used. 2015-10-13 11:21:33 -04:00
postmaster Message improvements 2015-11-16 21:39:23 -05:00
regex Fix enforcement of restrictions inside regexp lookaround constraints. 2015-11-07 12:43:24 -05:00
replication Remove duplicate word. 2015-12-18 12:43:52 -05:00
rewrite Make viewquery a copy in rewriteTargetView() 2015-12-21 10:34:14 -05:00
snowball Adjust behavior of single-user -j mode for better initdb error reporting. 2015-12-17 19:34:15 -05:00
storage Teach mdnblocks() not to create zero-length files. 2015-12-15 13:57:45 -05:00
tcop Adjust behavior of single-user -j mode for better initdb error reporting. 2015-12-17 19:34:15 -05:00
tsearch pgindent run for 9.5 2015-05-23 21:35:49 -04:00
utils Remove unnecessary escaping in C character literals 2015-12-22 22:43:46 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile Revert "Have dtrace depend on object files directly, not objfiles.txt" 2015-10-15 13:16:03 -04:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00