pgsql: Save redundant code for pseudotype I/O functions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Save redundant code for pseudotype I/O functions
Дата
Msg-id E1c3knN-0004HA-Q3@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Fix handling of symlinked pg_stat_tmp and pg_replslot
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: pg_rewing pg_upgrade: Fix translation markers