]> granicus.if.org Git - postgresql/commit
Improve jsonb cast error message
authorTeodor Sigaev <teodor@sigaev.ru>
Wed, 9 May 2018 10:23:16 +0000 (13:23 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Wed, 9 May 2018 10:23:16 +0000 (13:23 +0300)
commitcb5d94295986298af666534970f9bb3715574646
tree67650adba2565a00f638f41061cb5bc403fa5ed4
parentc63913ca7d1df241149a02fddf9819952b998028
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
src/backend/utils/adt/jsonb.c
src/test/regress/expected/jsonb.out