Обсуждение: pgsql: Save redundant code for pseudotype I/O functions

Поиск
Список
Период
Сортировка

pgsql: Save redundant code for pseudotype I/O functions

От
Peter Eisentraut
Дата:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a5954de1051a779f1460426ab88d142f8790f18d

Modified Files
--------------
src/backend/utils/adt/pseudotypes.c | 346 +++++-------------------------------
1 file changed, 45 insertions(+), 301 deletions(-)