Save redundant code for pseudotype I/O functions
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 27 Oct 2016 16:00:00 +0000 (12:00 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 7 Nov 2016 14:21:00 +0000 (09:21 -0500)
commita5954de1051a779f1460426ab88d142f8790f18d
treece9deb42881ff79a7a4172fbe89f97f56d356cfb
parent7f1bcfb93df90adcf3c7230234fc123096e2a639
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.
src/backend/utils/adt/pseudotypes.c