pgsql: Standardize error reports in unimplemented I/O functions.
От | Tom Lane |
---|---|
Тема | pgsql: Standardize error reports in unimplemented I/O functions. |
Дата | |
Msg-id | E1p49F7-002uwE-OR@gemulon.postgresql.org обсуждение исходный текст |
Список | pgsql-committers |
Standardize error reports in unimplemented I/O functions. We chose a specific wording of the not-implemented errors for pseudotype I/O functions and other cases where there's little value in implementing input and/or output. gtsvectorin never got that memo though, nor did most of contrib. Make these all fall in line, mostly because I'm a neatnik but also to remove unnecessary translatable strings. gbtreekey_in needs a bit of extra love since it supports multiple SQL types. Sadly, gbtreekey_out doesn't have the ability to do that, but I think it's unreachable anyway. Noted while surveying datatype input functions to see what we have left to fix. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d02ef65bce6575e10ac0b4e7b8552ff67687c944 Modified Files -------------- contrib/btree_gist/btree_gist.c | 18 +++++++++++------- contrib/hstore/hstore_gist.c | 14 ++++++++++---- contrib/intarray/_intbig_gist.c | 10 ++++++---- contrib/ltree/ltree_gist.c | 10 ++++++---- contrib/pg_trgm/trgm_gist.c | 14 ++++++++++---- src/backend/utils/adt/tsgistidx.c | 6 ++++-- 6 files changed, 47 insertions(+), 25 deletions(-)
В списке pgsql-committers по дате отправления: