On Mon, Feb 26, 2018 at 10:34 AM, Nikita Glukhov <n.glu...@postgrespro.ru> wrote: > Attached 10th version of the jsonpath patches. > > 1. Fixed error handling in arithmetic operators. > > Now run-time errors in arithmetic operators are catched (added > PG_TRY/PG_CATCH around operator's functions calls) and converted into > Unknown values in predicates as it is required by the standard:
I think we really need to rename PG_TRY and PG_CATCH or rethink this whole interface so that people stop thinking they can use it to prevent errors from being thrown. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company