mirror of
https://github.com/postgres/postgres.git
synced 2025-08-08 06:02:22 +03:00
Numeric error suppression in jsonpath
Add support of numeric error suppression to jsonpath as it's required by standard. This commit doesn't use PG_TRY()/PG_CATCH() in order to implement that. Instead, it provides internal versions of numeric functions used, which support error suppression. Discussion: https://postgr.es/m/fcc6fc6a-b497-f39a-923d-aa34d0c588e8%402ndQuadrant.com Author: Alexander Korotkov, Nikita Glukhov Reviewed-by: Tomas Vondra
This commit is contained in:
@@ -12209,7 +12209,7 @@ table2-mapping
|
||||
<para>
|
||||
The <literal>@?</literal> and <literal>@@</literal> operators suppress
|
||||
errors including: lacking object field or array element, unexpected JSON
|
||||
item type.
|
||||
item type and numeric errors.
|
||||
This behavior might be helpful while searching over JSON document
|
||||
collections of varying structure.
|
||||
</para>
|
||||
|
Reference in New Issue
Block a user