You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Rework pg_input_error_message(), now renamed pg_input_error_info()
pg_input_error_info() is now a SQL function able to return a row withmore than just the error message generated for incorrect data typeinputs when these are able to handle soft failures, returning morecontents of ErrorData, as of:- The error message (same as before).- The error detail, if set.- The error hint, if set.- SQL error code.All the regression tests that relied on pg_input_error_message() areupdated to reflect the effects of the rename.Per discussion with Tom Lane and Andrew Dunstan.Author: Nathan BossartDiscussion:https://postgr.es/m/139a68e1-bd1f-a9a7-b5fe-0be9845c6311@dunslane.net