mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
Revert "Reorganise jsonpath operators and methods"
This reverts commit 283a95da92
.
The reordering of JsonPathItemType affects the binary on-disk
compatibility of the jsonpath type, so we must not change it. Revert
for now and consider.
This commit is contained in:
@@ -17689,20 +17689,6 @@ strict $.**.HR
|
||||
</para></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry role="func_table_entry"><para role="func_signature">
|
||||
<replaceable>number</replaceable> <literal>.</literal> <literal>abs()</literal>
|
||||
<returnvalue><replaceable>number</replaceable></returnvalue>
|
||||
</para>
|
||||
<para>
|
||||
Absolute value of the given number
|
||||
</para>
|
||||
<para>
|
||||
<literal>jsonb_path_query('{"z": -0.3}', '$.z.abs()')</literal>
|
||||
<returnvalue>0.3</returnvalue>
|
||||
</para></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry role="func_table_entry"><para role="func_signature">
|
||||
<replaceable>number</replaceable> <literal>.</literal> <literal>ceiling()</literal>
|
||||
@@ -17731,6 +17717,20 @@ strict $.**.HR
|
||||
</para></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry role="func_table_entry"><para role="func_signature">
|
||||
<replaceable>number</replaceable> <literal>.</literal> <literal>abs()</literal>
|
||||
<returnvalue><replaceable>number</replaceable></returnvalue>
|
||||
</para>
|
||||
<para>
|
||||
Absolute value of the given number
|
||||
</para>
|
||||
<para>
|
||||
<literal>jsonb_path_query('{"z": -0.3}', '$.z.abs()')</literal>
|
||||
<returnvalue>0.3</returnvalue>
|
||||
</para></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry role="func_table_entry"><para role="func_signature">
|
||||
<replaceable>string</replaceable> <literal>.</literal> <literal>datetime()</literal>
|
||||
|
Reference in New Issue
Block a user