Deduplicate "invalid input syntax" messages for various types.

Andres Freund <andres@anarazel.de>

Commit: 3522d0eaba5a976f09a48810dd25dff6ab3565df
Author: Andres Freund <andres@anarazel.de>
Date: 2018-07-22T21:58:01Z
Releases: 12.0
Deduplicate "invalid input syntax" messages for various types.

Previously a lot of the error messages referenced the type in the
error message itself. That requires that the message is translated
separately for each type.

Note that currently a few smallint cases continue to reference the
integer, rather than smallint, type. A later patch will create a
separate routine for 16bit input.

Author: Andres Freund
Discussion: https://postgr.es/m/20180707200158.wpqkd7rjr4jxq5g7@alap3.anarazel.de

Files

Documentation touched

Discussion