aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-06-12 11:54:03 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-06-12 11:54:03 -0400
commitb00982344a73d9cb626430dd17a6da84c15c9980 (patch)
tree91cb4eec1e3ab6f3c252934b453eaa02531022a0 /src/backend/utils/adt/jsonfuncs.c
parentb5fe62038f49f92c4a4f189c7cdacf3739effcdc (diff)
downloadpostgresql-b00982344a73d9cb626430dd17a6da84c15c9980.tar.gz
postgresql-b00982344a73d9cb626430dd17a6da84c15c9980.zip
Improve error message and hint for ALTER COLUMN TYPE can't-cast failure.
We already tried to improve this once, but the "improved" text was rather off-target if you had provided a USING clause. Also, it seems helpful to provide the exact text of a suggested USING clause, so users can just copy-and-paste it when needed. Per complaint from Keith Rarick and a suggestion from Merlin Moncure. Back-patch to 9.2 where the current wording was adopted.
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions