Save redundant code for pseudotype I/O functions

Peter Eisentraut <peter_e@gmx.net>

Commit: a5954de1051a779f1460426ab88d142f8790f18d
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2016-11-07T14:21:00Z
Releases: 10.0
Save redundant code for pseudotype I/O functions

Use a macro to generate the in and out functions for pseudotypes that
reject all input and output, saving many lines of redundant code.
Parameterize the error messages to reduce translatable strings.

Files

PathChange+/−
src/backend/utils/adt/pseudotypes.c modified +45 −301