pgsql: Improve jsonb cast error message

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема pgsql: Improve jsonb cast error message
Дата
Msg-id E1fGMG7-0007uT-J9@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve jsonb cast error message

Initial variant of error message didn't follow style of another casting error
messages and wasn't informative. Per gripe from Robert Haas.

Reviewer: Tom Lane
Discussion:
https://www.postgresql.org/message-id/flat/CA%2BTgmob08StTV9yu04D0idRFNMh%2BUoyKax5Otvrix7rEZC8rMw%40mail.gmail.com#CA+Tgmob08StTV9yu04D0idRFNMh+UoyKax5Otvrix7rEZC8rMw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cb5d94295986298af666534970f9bb3715574646

Modified Files
--------------
src/backend/utils/adt/jsonb.c       | 71 ++++++++++++++++++++++++-------------
src/test/regress/expected/jsonb.out |  8 ++---
2 files changed, 51 insertions(+), 28 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve inefficient regexes in vacuumdb TAP test.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Add a script and a config file to run perlcritic